UM012811-0904
Addressing
Modes
eZ8 CPU
User Manual
24
INDIRECT REGISTER ADDRESSING (IR)
In Indirect Register Addressing Mode, the contents of the specified Register provide an
address as illustrated in Figures 11 and 12. Depending upon the instruction selected, the
specified Register contents point to a Register File, Program Memory, or an Data Memory
location. When accessing Program Memory or Data Memory, Register Pairs or Working
Register Pairs hold the 16-bit addresses.
Figure 11. Indirect Register Addressing to Register File
One 8-bit
Program Memory
Address
(dst)
One Operand
Instruction
(Example)
Opcode
dst[7:0]
Destination
Register File
Register
12-bit address is
{RP[3:0], dst[7:0]}
Value used
in execution
Register
contains 8-bit
address (addr[7:0])
12-bit address is
{RP[3:0], ad
dr[7
:0
]}