
eZ8
™
CPU Core
User Manual
UM012820-0810 RL Instruction
210
Attributes
Escaped Mode Addressing
Using Escaped Mode Addressing, address modes R or IR specify a work-
ing register. If the destination address is prefixed by Eh (1110b), a work-
ing 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
If Register C6h contains the value 88h (10001000b), the following state-
ment leaves the value 11h (00010001b) in Register C6h., sets the C and
V flags and clears the S and Z flags:
RL
C6h
Object Code: 90 C6
If the contents of Register C6h are 88h, and the contents of Register 88h
are
44h (01000100b), the following statement leaves the value 88h in
Register
88h (10001000b), sets the S and V flags and clears the C and Z
flags:
RL @
C6h
Object Code: 91 C6
Mnemonic Destination
Op Code
(Hex) Operand 1 Operand 2 Operand 3
RL R1 90 R1 — —
RL @R1 91 R1 — —
Kommentare zu diesen Handbüchern