Instruction Reference Manual 81
Description
Loads the low order byte of IY with the data whose address is the data in the Stack Pointer register 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.
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
- - - -