<< Previous | Next >>

LD (SP+n),BCDE
LD (SP+n),JKHL
    Load
    Rabbit 4000 Instruction
Opcode
Instruction
Clocks
Operation

DD EF n

LD (SP+n),BCDE

19 (2,2,2,1,3,3,3,3)

(SP + n) = E
(SP + n + 1) = D
(SP + n + 2) = C
(SP + n + 3) = B

FD EF n

LD (SP+n),JKHL

19 (2,2,2,1,3,3,3,3)

(SP + n) = L
(SP + n + 1) = H
(SP + n + 2) = JKlow
(SP + n + 3) = JKhigh


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 BCDE or JKHL.


<< Previous | Next >>