Instruction Reference Manual
53
Description
•
LD HL,(mn):
Loads the register L with the data whose address is mn and loads the register H
with the data whose address is mn plus 1.
•
LD HL,(HL+d):
Loads the register L with the data whose address is the data in word register
HL plus a displacement d. Then loads the register H with the data whose address is the data in
word register HL plus a displacement d plus 1.
•
LD HL,(IX+d):
Loads the register L with the data whose address is the data in index regis-
ter IX plus a displacement d. Then loads the register H with the data whose address is the data in
index register IX plus a displacement d plus 1.
•
LD HL,(IY+d):
Loads the register L with the data whose address is the data in index regis-
ter IY plus a displacement d. Then loads the register H with the data whose address is the data in
index register IY plus a displacement d plus 1.
The last 3 instructions are not available for the Z180.
LD HL,(mn)
LD HL,(HL+d)
LD HL,(IX+d)
LD HL,(IY+d)
Opcode
Instruction
Clocks
Operation
2A mn
LD HL,(mn)
11 (2,2,2,1,2,2)
L = (mn); H = (mn + 1)
DD E4 d
LD HL,(HL+d)
11 (2,2,2,1,2,2)
L = (HL + d); H = (HL + d + 1)
E4 d
LD HL,(IX+d)
9 (2,2,1,2,2)
L = (IX + d); H = (IX + d + 1)
FD E4 d
LD HL,(IY+d)
11 (2,2,2,1,2,2)
L = (IY + d); H = (IY + d + 1)
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...