Zilog Z8F0130 Uživatelský manuál Strana 56

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 314
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 55
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}
Zobrazit stránku 55
1 2 ... 51 52 53 54 55 56 57 58 59 60 61 ... 313 314

Komentáře k této Příručce

Žádné komentáře