Instruction Reference Manual 61
Description
• LD (BC),A: Loads the memory location whose address is the data in BC with the data in A.
• LD (DE),A: Loads the memory location whose address is the data in DE with the data in A.
• LD (HL),n: Loads the memory location whose address is the data in HL with the 8-bit con-
stant n.
• LD (HL),r: Loads the memory location whose address is the data in HL, with the data in r
(any of the registers A, B, C, D, E, H, or L).
LD (BC),A
LD (DE),A
LD (HL),n
LD (HL),r
Opcode Instruction Clocks Operation
02 LD (BC),A 7 (2,2,3) (BC) = A
12 LD (DE),A 7 (2,2,3) (DE) = A
36 n LD (HL),n 7 (2,2,3) (HL) = n
——
77
70
71
72
73
74
75
LD (HL),r
LD (HL),A
LD (HL),B
LD (HL),C
LD (HL),D
LD (HL),E
LD (HL),H
LD (HL),L
6 (2,1,3)
6 (2,1,3)
6 (2,1,3)
6 (2,1,3)
6 (2,1,3)
6 (2,1,3)
6 (2,1,3)
6 (2,1,3)
(HL) = r
(HL) = A
(HL) = B
(HL) = C
(HL) = D
(HL) = E
(HL) = H
(HL) = L
Flags ALTD I/O
S Z L/V C F R SP S D
- - - - •