Z8 Microcontrollers
Addressing Modes ZiLOG
11-2 UM001601-0803
11.2 Z8 REGISTER ADDRESSING (R)
In 8-bit Register Addressing mode, the operand value is equiva-
lent to the contents of the specified register or register pair.
In the Register Addressing (Figure 11-1), the destination and/or
source address specified corresponds to the actual register in the
register file.
In 4-bit Register Addressing (Figure 11-2), the destination
and/or source addresses point to the Working Register within the
current Working Register Group. This 4-bit address is combined
with the upper four bits of the Register Pointer to form the actual
8-bit address of the affected register.
Figure 11-1. 8-Bit Register Addressing
OpCode
One Operand
Register File
Operand
Program Memory
Points to
dst
8-Bit Register
One Register
in the
Register
File
Instruction
(Example)
File Address
Figure 11-2. 4-Bit Register Addressing
Op Code
Two Operand
Register File
Operand
Program Memory
Points to
src
4-Bit Working
One Register
in the
Register
File
Instruction
(Example)
Registers
Operand
RP
dst
Points to
Origin of
Working
Register
Group