Introduction; Z8 Mcu Standard Register File - ZiLOG Z8 User Manual

Hide thumbs Also See for Z8:
Table of Contents

Advertisement

2.1 INTRODUCTION

Four address spaces are available for the Z8 MCU
The Z8 Standard Register File contains addresses for
peripheral, control, all general-purpose, and all I/O port
registers. This is the default register file specification.
The Z8 Expanded Register File (ERF) contains addresses for
control and data registers for additional peripherals/features.

2.2 Z8 MCU STANDARD REGISTER FILE

The Z8 Standard Register File totals up to 256 consecutive bytes
(Registers). The register file consists of 4 I/O ports (00H-03H),
236 General-Purpose Registers (04H-EFH), and 16 control reg-
isters (F0H-FFH). Table 2-1 shows the layout of the register file,
including register names, locations, and identifiers.
Table 2-1. Z8 Standard Register File
Hex
Register
Address
Description
FF
Stack Pointer Low Byte
FE
Stack Pointer High Byte
FD
Register Pointer
FC
Program Control Flags
FB
Interrupt Mask Register
FA
Interrupt Request Register
F9
Interrupt Priority Register
F8
Port 0-1 Mode Register
F7
Port 3 Mode Register
F6
Port 2 Mode Register
F5
T0 Prescaler
F4
Timer/Counter 0
F3
T1 Prescaler
F2
Timer/Counter 1
F1
Timer Mode
UM001601-0803
C
HAPTER
A
S
DDRESS
PACE
®
:
Z8 External Program Memory contains addresses for all
memory locations having executable code and/or data.
Z8 External Data Memory contains addresses for all memory
locations that hold data only, whether internal or external.
Hex
Address
F0
EF
Register
Identifier
SPL
04
SPH
03
RP
02
FLAGS
01
IMR
00
IRQ
IPR
P01M
P3M
P2M
PRE0
T0
PRE1
T1
TMR
2
Table 2-1. Z8 Standard Register File
Register
Description
Serial I/O
.
General-Purpose
.
Registers (GPR)
.
Port 3
Port 2
Port 1
Port 0
U
'
M
SER
S
ANUAL
Register
Identifier
SIO
R239
.
.
.
R4
P3
P2
P1
P0
2-1

Advertisement

Table of Contents
loading

Table of Contents