48 Rabbit 2000/3000 Microprocessor
Description
These instructions are implemented for the Rabbit and are not available for the Z180.
• LD (SP+n),HL: Loads the data in the register L into the memory location whose address is
the sum of the data in the Stack Pointer, SP, and the displacement n. Then loads the data in the
register H into the memory location whose address is the sum of the data in SP, the displacement
n, and 1.
• LD (SP+n),IX: Loads the low order byte of the data in index register IX into the memory
location whose address is the sum of the data in the Stack Pointer, SP, and the displacement n.
Then loads the high order byte of the data in IX into the memory location whose address is the
sum of data in SP, the displacement n, and 1.
• LD (SP+n),IY: Loads the low order byte of the data in index register IY into the memory
location whose address is the sum of the data in the Stack Pointer, SP, and the displacement n.
Then loads the high order byte of the data in IY into the memory location whose address is the
sum of data in SP, the displacement n, and 1.
LD (SP+n),HL
LD (SP+n),IX
LD (SP+n),IY
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)=IX
(low)
;
(SP + n +1)=IX
(high)
FD D4 n LP (SP+n),IY 13 (2,2,2,1,3,3) (SP + n)=IY
(low)
;
(SP + n +1)=IY
(high)
Flags ALTD I/O
S Z L/V C F R SP S D
- - - -