eZ80
®
CPU
User Manual
UM007714-0908 CPU Instruction Set
209
LD IX/Y, (Mmn)
Load Index Register
Operation
IX/Y ← (Mmn)
Description
The 16- or 24-bit operand
(Mmn)
specifies a location in memory. The 16- or 24-bit value
stored at this location in memory is written to the specified multibyte Index Register, IX or
IY.
Condition Bits Affected
None.
Attributes
Zilog recommends against using the .SIL and .LIS suffixes with this instruction. The .SIL
instruction fetches a 24-bit value, Mmn. However, this instruction ignores the upper byte
and uses address {MBASE, mm, nn} instead. The .LIS instruction fetches a 16-bit value,
mn
. However, the .LIS instruction does not use the MBASE value. Instead, it uses address
{00, mm, nn}.
Mnemonic Operand
ADL
Mode Cycle Opcode (hex)
LD IX,(mn) 06DD, 2A, nn, mm
LD IX,(Mmn) 18DD, 2A, nn, mm, MM
LD.LIL IX,(Mmn) 095B, DD, 2A, nn, mm, MM
LD.SIS IX,(mn) 1740, DD, 2A, nn, mm
LD IY,(mn) 06FD, 2A, nn, mm
LD IY,(Mmn) 18FD, 2A, nn, mm, MM
LD.LIL IY,(Mmn) 095B, FD, 2A, nn, mm, MM
LD.SIS IY,(mn) 1740, FD, 2A, nn, mm