Indexed Addressing
In this mode of addressing, a byte of data following the opcode contains a displacement to
be added to one of the IX or IY Index registers. The displacement is a two's-complement
value in the range +127 to –128.
Index Register (IX or IY)
Extended Addressing
The memory operand address is specified by two or three bytes following the opcode.
ure 9
displays the extended addressing.
Relative Addressing
Relative addressing uses one byte of data following the opcode to specify a displacement
from the existing program to which a program jump can occur. The displacement is a
two's-complement number that is added to the address of the opcode following the
UM007714-0908
Op Code 1
Op Code 2
Displacement (d)
Figure 8. Indexed Addressing
Op Code
nn
mm
MM
{MM, mm, nn}
Figure 9. Extended Addressing
Figure 8
displays the indexed addressing.
+
Operand
Memory Space
Operand
Memory Space
®
eZ80
CPU
User Manual
50
Fig-
Addressing Modes
Need help?
Do you have a question about the eZ80 and is the answer not in the manual?
Questions and answers