Instruction Reference Manual 75
Description
Loads L with the data whose address is the data in SP plus a displacement d. Then loads H with the data
whose address is the data in SP plus a displacement d plus 1.
LD HL,(SP+n)
Opcode Instruction Clocks Operation
C4 n LD HL,(SP+n) 9 (2,2,1,2,2) L = (SP + n); H = (SP + n +1)
Flags ALTD I/O
S Z L/V C F R SP S D
- - - - •