LD SP, IX/Y
Load Stack Pointer
Operation
SP ← IX/Y
Description
The CPU writes the contents of the specified multibyte Index Register, IX or IY, to the
Stack Pointer. In ADL mode, or when the .L suffix is employed, the destination is Stack
Pointer Long (SPL). In Z80 mode, or when the .S suffix is employed, the destination is
Stack Pointer Short (SPS).
Condition Bits Affected
None.
Attributes
Mnemonic Operand
LD
LD.S
LD.L
LD
LD.S
LD.L
UM007714-0908
ADL Mode Cycle Opcode (hex)
X
SP,IX
1
SP,IX
0
SP,IX
X
SP,IY
1
SP,IY
0
SP,IY
2
DD, F9
3
52, DD, F9
3
49, DD, F9
2
FD, F9
3
52, FD, F9
3
49, FD, F9
®
eZ80
CPU
User Manual
235
CPU Instruction Set
Need help?
Do you have a question about the eZ80 and is the answer not in the manual?
Questions and answers