
eZ8
™
CPU Core
User Manual
UM012820-0810 Addressing Modes
34
Indexed Addressing
An Indexed Address, symbol X, consists of an 8-bit address in a working
register offset by an 8-bit Signed Index value. Figure 13 displays Indexed
Addressing.
Figure 13. Indexed Register Addressing
Two 4-bit
Program Memory
Address
(dst, src)
Two Operand
Instruction
(Example)
Op Code
{dst[3:0],
Destination
Register File
Register
12-bit address is
{RP[3:0],
RP[7:4]
, dst[3:0]}
Value used
in execution
8-bit value written
to Desitnation Register
src[3:0]}
Index
+
Source
Register
Source
Value
12-bit address is
{RP[3:0], Source Value + Index}
Comentarios a estos manuales