Zilog Z8F0130 Instrukcja Użytkownika Strona 116

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 314
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 115
eZ8
CPU Core
User Manual
UM012820-0810 BSWAP Instruction
101
Attributes
Escaped Mode Addressing
Using Escaped Mode Addressing, address mode R specifies 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 pre-
ferred destination operand, use ECh as the destination operand in the Op
Code. To access registers with addresses
E0h to EFh, either set the Work-
ing Group Pointer, RP[7:4], to Eh or use indirect addressing.
Sample Usage
If Register 27h contains the value 53h (01010011b), the following state-
ment leaves the value CAh (11001010b) in Register 27, sets the S flag,
and clears the V flag. The C flag is undefined.
BSWAP 27
Object Code: D5 27
Mnemonic Destination
Op
Code
(Hex) Operand 1 Operand 2 Operand 3
BSWAP R1 D5 R1
Przeglądanie stron 115
1 2 ... 111 112 113 114 115 116 117 118 119 120 121 ... 313 314

Komentarze do niniejszej Instrukcji

Brak uwag