
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 n m
ED 5B n m
2A n m
ED 7B n m
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
-
-
-
-
Содержание 2000
Страница 2: ...ii Rabbit 2000 3000 Microprocessor...
Страница 4: ...iv Rabbit 2000 Microprocessor...
Страница 16: ...12 Rabbit 2000 3000 Microprocessor...
Страница 112: ...108 Rabbit 2000 3000 Microprocessor...
Страница 120: ...ii Rabbit 2000 3000 Microprocessor...