Ez8™ cpu control registers, Stack pointer registers, Cpu control registers – Zilog Z8F0130 User Manual
Page 19

eZ8
™
CPU Core
User Manual
UM012820-0810
Architectural Overview
4
eZ8
™
CPU Control Registers
The eZ8 CPU contains four CPU control registers that are mapped into
the Register File address space. These four eZ8 CPU control registers are:
•
Stack Pointer High Byte
•
Stack Pointer Low Byte
•
Register Pointer
•
Flags
The eZ8 CPU register bus can access up to 4K (4096) bytes of register
space. In all eZ8 CPU products, the upper 256 bytes are reserved for con-
trol of the eZ8 CPU, the on-chip peripherals, and the I/O ports. The eZ8
CPU control registers are always located at addresses from
FFCh
to
FFFh
Stack Pointer Registers
The eZ8 CPU allows you to relocate the stack within the Register File.
The stack can be located at addresses from
000h
to
EFFh
. The 12-bit
Stack Pointer value is provided by
{SPH[3:0], SPL[7:0]}
. The Stack
Pointer has a 12-bit increment/decrement capability for stack operations,
allowing the Stack Pointer to operate over more than one page
Table 1. eZ8 CPU Control Registers
Register
Mnemonic
Register Description
Address
(Hex)
FLAGS
Flags
FFC
RP
Register Pointer
FFD
SPH
Stack Pointer High Byte
FFE
SPL
Stack Pointer Low Byte
FFF
- 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