<< Previous | Next >>

LD (SP+n),BCDE
LD (SP+n),JKHL
    Load
    Rabbit 4000/5000 Instruction

Opcode
Instruction
Operation
DD EF n LD (SP+n),BCDE (SP + n) = E
(SP + n + 1) = D
(SP + n + 2) = C
(SP + n + 3) = B
FD EF n LD (SP+n),JKHL (SP + n) = L
(SP + n + 1) = H
(SP + n + 2) = JKlow
(SP + n + 3) = JKhigh

8-Bit Access
16-Bit Unaligned
16-Bit Aligned
Rabbit 4000
19
n/a
n/a
Rabbit 5000
20
19
18

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.


Rabbit Instructions << Previous | Next >> rabbit.com