eZ80
®
CPU
User Manual
UM007714-0908 CPU Instruction Set
212
LD (IX/Y+d), r
Load Indirect with Offset
Operation
(IX/Y+d) ← r
Description
The
r
operand is any of the 8-bit CPU registers A, B, C, D, E, H, or L. The CPU writes the
contents of the
r
register to the memory location specified by the contents of the multibyte
Index Register, IX or IY, offset by the two’s-complement displacement
d
.
Condition Bits Affected
None.
Attributes
jj identifies the A, B, C, D, E, H, or L register and is assembled into one of the opcodes
indicated in Table 66.
Mnemonic Operand ADL Mode Cycle Opcode (hex)
LD (IX+d),r X4DD, jj, dd
LD.S (IX+d),r 1552, DD, jj, dd
LD.L (IX+d),r 0549, DD, jj, dd
LD (IY+d),r X4FD, jj, dd
LD.S (IY+d),r 1552, FD, jj, dd
LD.L (IY+d),r 0549, FD, jj, dd