<< Previous | Next >>

LD (mn),A
LD (mn),HL
LD (mn),IX
LD (mn),IY
LD (mn),ss
    Load
    Rabbit 2000/3000/4000 Instruction
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) = IXlow; (mn + 1) = IXhigh

FD 22 n m

LD (mn),IY

c

(mn) = IYlow; (mn + 1) = IYhigh

----

LD (mn),ss

c

(mn) = sslow; (mn + 1) = sshigh

ED 43 n m

LD (mn),BC

c

(mn) = C; (mn + 1) = B

ED 53 n m

LD (mn),DE

c

(mn) = E; (mn + 1) = D

ED 63 n m

LD (mn),HL

c

(mn) = L; (mn + 1) = H

ED 73 n m

LD (mn),SP

c

(mn) = SPlow; (mn + 1) = SPhigh

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 IOI/IOE
S
Z
L/V
C
F
R
SP
S
D
-
-
-
-
·

Description

Loads the memory location whose address is mn with

As you can see from the above table, there are two opcodes for "ld (mn),HL" instruction. The assembler will generate the shorter opcode (22 n m).


<< Previous | Next >>