Instruction Reference Manual
65
Description
•
LD (mn),A:
Loads the memory location whose address is mn with the data in A.
•
LD (mn),HL:
Loads the memory location whose address is mn with the data in L, then loads
the memory location whose address is 1 plus mn with the data in H.
•
LD (mn),IX:
Loads the memory location whose address is mn with the low order byte of the
data in IX, and the memory location whose address is 1 plus mn with the high order byte of the
data in IX.
•
LD (mn),IY:
Loads the memory location whose address is mn with the low order byte of the
data in IY, the memory location whose address is 1 plus mn with the high order byte of the data
in IY into.
•
LD (mn),ss:
Loads the memory location whose address is mn with the low order byte of the
data in ss (any of BC, DE, HL or SP). Then, loads the memory location whose address is 1 plus
mn with the high order byte of the data in ss.
LD (
mn
),A
LD (
mn
),HL
LD (
mn
),IX
LD (
mn
),IY
LD (
mn
),
ss
Opcode
Instruction
Clocks
Operation
32
n m
LD (
mn
),A
a
(
mn
) = A
22
n m
LD (
mn
),HL
b
(
mn
) = L; (
mn
+ 1) = H
DD 22
n m
LD (
mn
),IX
c
(
mn
) = IX
(low)
; (
mn
+ 1) = IX
(high)
FD 22
n m
LD (
mn
),IY
c
(
mn
) = IY
(low)
; (
mn
+ 1) = IY
(high)
——
ED 43
n m
ED 53
n m
ED 63
n m
ED 73
n m
LD (
mn
),
ss
LD (
mn
),BC
LD (
mn
),DE
LD (
mn
),HL
LD (
mn
),SP
c
c
c
c
c
(
mn
) =
ss
(low)
; (
mn
+ 1) =
ss
(high)
(
mn
) = C; (
mn
+ 1) = B
(
mn
) = E; (
mn
+ 1) = D
(
mn
) = L; (
mn
+ 1) = H
(
mn
) = P; (
mn
+ 1) = S
Clocking: (a)10 (2,2,2,1,3) (b)13 (2,2,2,1,3,3) (c)15 (2,2,2,2,1,3,3)
Flags
ALTD
I/O
S
Z
L/V
C
F
R
SP
S
D
-
-
-
-
•
Summary of Contents for 2000
Page 2: ...ii Rabbit 2000 3000 Microprocessor...
Page 4: ...iv Rabbit 2000 Microprocessor...
Page 16: ...12 Rabbit 2000 3000 Microprocessor...
Page 164: ...160 Instruction Reference Manual...