UM012811-0904
Addressing
Modes
eZ8 CPU
User Manual
25
Figure 12. Indirect Register Addressing to Program or Data Memory
INDEXED ADDRESSING (X)
An Indexed Address consists of an 8-bit address contained in a Working Register offset by
an 8-bit Signed Index value. Figure 13 illustrates Indexed Addressing.
One 8-bit
Program Memory
Address
(dst)
One Operand
Instruction
(Example)
Opcode
dst[7:0]
Destination
Register File
Register MSB
12-bit address is
{RP[3:0], dst[7:0]}
Value used
in execution
Register Pair
contains two
8-bit address
16
-b
it ad
dress is
{a
ddr[15:8
], add
r[7:0]}
Program or Data Memory
Destination
Register LSB
{addr[15:8], addr[7:0]}