Zilog Z8F0130 Bedienungsanleitung Seite 133

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 314
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 132
eZ8
CPU Core
User Manual
UM012820-0810 CLR Instruction
118
Escaped Mode Addressing
Using Escaped Mode Addressing, address modes R or IR can specify a
working register. If the destination address is prefixed by
Eh (1110b), a
working register is inferred. For example, if Working Register R12 (
Ch) is
the preferred destination operand, use
ECh as the destination operand in
the Op Code. To access registers with addresses
E0h to EFh, either set the
Working Group Pointer,
RP[7:4], to Eh or use indirect addressing.
Sample Usage
Using Escaped Mode Addressing, if Working Register R6 contains AFh,
the following statement leaves the value
00h in Working Register R6:
CLR R6
Object Code: B0 E6
If Register A5h contains the value 23h, and Register 23h contains the
value
FCh, the following statement leaves the value 00h in Register 23h:
CLR @
A5h
Object Code: B1 A5
Seitenansicht 132
1 2 ... 128 129 130 131 132 133 134 135 136 137 138 ... 313 314

Kommentare zu diesen Handbüchern

Keine Kommentare