<< Previous | Next >>

LD (SP+n),HL
LD (SP+n),IX
LD (SP+n),IY
    Load
    Rabbit 2000/3000/4000 Instruction
Opcode
Instruction
Clocks
Operation

D4 n

LD (SP+n),HL

11 (2,2,1,3,3)

(SP + n) = L
(SP + n + 1) = H

DD D4 n

LD (SP+n),IX

13 (2,2,2,1,3,3)

(SP + n) = IXlow
(SP + n + 1) = IXhigh

FD D4 n

LP (SP+n),IY

13 (2,2,2,1,3,3)

(SP + n) = IYlow
(SP + n + 1) = IYhigh


Flags ALTD IOI/IOE
S
Z
L/V
C
F
R
SP
S
D
-
-
-
-

Description

Loads the memory location whose address is the sum of SP and the 8-bit unsigned constant n with HL, IX or IY.


<< Previous | Next >>