Instruction Reference Manual 57
Description
Loads the low order byte of index register IY with the data whose address is the data in the Stack Pointer reg-
ister SP plus a displacement n. Then loads the high order byte of IY with the data whose address is the data in
the Stack Pointer register plus a displacement n plus 1. This instruction is implemented for the Rabbit and is
not available for the Z180
LD IY,(SP+n)
Opcode Instruction Clocks Operation
FD C4 n LD IY,(SP+n) 11* IY
(low)
= (SP + n); IY
(high)
=(SP+n +1)
*Clocking: 11 (2,2,2,1,2,2)
Flags ALTD I/O
S Z L/V C F R SP S D
- - - -