Instruction Reference Manual 51
Description
Loads the low-order byte of the word register dd (any of the word registers BC, DE, HL or SP) with the data
at memory address mn. Then loads the high-order byte of the word register dd with data at memory address
mn plus 1.
Description
Loads the alternate register pair dd' (any of the registers BC', DE', or HL') with the data in the register pair BC
or the register pair DE. These instructions are implemented for the Rabbit and are not available for the Z180.
LD dd,(mn)
Opcode Instruction Clocks Operation
——
ED 4B nm
ED 5B nm
2A nm
ED 7B nm
LD dd,(mn)
LD BC,(mn)
LD DE,(mn)
LD HL,(mn)
LD SP,(mn)
13 (2,2,2,2,1,2,2)
13 (2,2,2,2,1,2,2)
13 (2,2,2,2,1,2,2)
13 (2,2,2,2,1,2,2)
13 (2,2,2,2,1,2,2)
dd
(low)
=(mn);
dd
(high)
=(mn +1)
C=(mn);B=(mn +1)
E=(mn);D=(mn +1)
L=(mn);H=(mn +1)
SP
(low)
=(mn); SP
(high)
=(mn+1)
Flags ALTD I/O
S Z L/V C F R SP S D
- - - - • •
LD dd',BC
LD dd',DE
Opcode Instruction Clocks Operation
——
ED 49
ED 59
ED 69
LD dd',BC
LD BC',BC
LD DE',BC
LD HL',BC
4 (2,2)
4 (2,2)
4 (2,2)
4 (2,2)
dd'=BC
BC'=BC
DE'=BC
HL'=BC
——
ED 41
ED 51
ED 61
LD dd',DE
LD BC',DE
LD DE',DE
LD HL',DE
4 (2,2)
4 (2,2)
4 (2,2)
4 (2,2)
dd'=DE
BC'=DE
DE'=DE
HL'=DE
Flags ALTD I/O
S Z L/V C F R SP S D
- - - -