Zilog Z8F0130 User Manual
Page 35
![background image](https://www.manualsdir.com/files/771165/content/doc035.png)
eZ8
™
CPU Core
User Manual
UM012820-0810
Address Space
20
Linear Addressing of Register File
Using 12-bit linear addressing, the eZ8 CPU can directly access any 8-bit
registers or 16-bit register pairs within the 4096B Register File. The
instructions that support 12-bit addressing allow direct register access to
most registers without requiring a change to the value of the Register
Pointer (RP). To accommodate the increase in the register address space
relative to the Z8
architecture, new Extended Addressing instructions
are added to allow easier register access across page boundaries.
Page Mode Addressing of Register File
In Page mode, the Register File is divided into sixteen 256-Byte register
Pages. The current page is determined by the Page Pointer value,
RP[3:0]
. Registers can be accessed by Direct, Indirect, or Indexed
Addressing using 8-bit addresses. The full 12-bit address is provided by
{RP[3:0], Address[7:0]}
. All 256 registers on the current page can
be referenced or modified by any instruction that uses 8-bit addressing. To
change to a different page, use the Set Register Pointer (SRP) instruction
to change the value of the Register Pointer. (Load instructions, LD or
LDX, can also be used but require more bytes of code space).
Working Register Addressing of Register File
Each Register File page is logically divided into 16 Working Register
Groups of 16 registers each. The Working Registers within each Working
Register Group are accessible using 4-bit addressing. The high nibble of
the eZ8 CPU Register Pointer (RP) contains the base address of the active
Working Register Group, referred to as the Working Group Pointer. When
accessing one of the Working Registers, the 4-bit address of the Working
Register is combined within the Page Pointer and the Working Group
Pointer to form the full 12-bit address
{RP[3:0], RP[7:4],
Address[3:0]}
.
on page 21 displays this operation.
- Z8F0131 Z8F0230 Z8F0231 Z8F0430 Z8F0431 Z8F043A Z8F0830 Z8F0831 Z8F083A Z8F1232 Z8F1233 Z8F0113 Z8F011A Z8F0123 Z8F012A Z8F0213 Z8F021A Z8F0223 Z8F022A Z8F0411 Z8F0412 Z8F0413 Z8F041A Z8F0421 Z8F0422 Z8F0423 Z8F042A Z8F0811 Z8F0812 Z8F0813 Z8F081A Z8F0821 Z8F0822 Z8F0823 Z8F082A Z8F0880 Z8F1621 Z8F1622 Z8F1680 Z8F1681 Z8F1682 Z8F2421 Z8F2422 Z8F2480 Z8F3221 Z8F3222 Z8F3281 Z8F3282 Z8F4821 Z8F4822 Z8F4823 Z8F6081 Z8F6082 Z8F6421 Z8F6422 Z8F6423 Z8F6481 Z8F6482 Z8FS021A ZMOT1AHH Z8FS040B ZMOT0BHH ZMOT0BSB Z8FMC04 Z8FMC08 Z8FMC16