English
Language : 

Z86K13 Datasheet, PDF (13/24 Pages) Zilog, Inc. – CMOS Z8 8-Bit MCU Keyboard Controllers
Zilog
Z86K13/K14/K15/K16/K17/K18
CMOS Z8® 8-Bit MCU Keyboard Controllers
Program Memory. The 16-bit program counter addresses Register File. The register file (Figure 13) consists of four
4 KB of program memory space at internal locations (Fig- I/O port registers, 188 general-purpose registers (exclud-
ure 11).
1 ing P00-P03), and 11 control and status registers (R3-R0,
R191-R4, and R255-R240, respectively). The instructions
The first 12 bytes of program memory are reserved for the can access registers directly or indirectly through an 8-bit
interrupt vectors. These locations have six 16-bit vectors address field. This allows short, 4-bit register addressing
that correspond to the five available interrupts.
using the Register Pointer. In the 4-bit mode, the register
Byte 12 to byte 4095* consists of on-chip, mask pro-
grammed ROM. Addresses 4096* and greater are re-
served. (*2048 for K13/K16, 3072 for K14/K17)
file is divided into nine working-register groups, each occu-
pying 16 continuous locations. The Register Pointer ad-
dresses the starting location of the active working-register
group.
65535
2048/3072/4096
2047/3071/4095
Location of
First Byte of
Instruction
Executed 12
After RESET
11
10
9
8
7
Interrupt
Vector 6
(Lower Byte)
5
4
Interrupt
Vector 3
(Upper Byte)
2
1
0
Reserved
On-Chip
ROM
Reserved
Reserved
IRQ4
IRQ4
IRQ3
IRQ3
IRQ2
IRQ2
IRQ1
IRQ1
IRQ0
IRQ0
Figure 11. Program Memory Map
R253 RP
D7 D6 D5 D4 D3 D2 D1 D0
Reserved
Default setting after RESET = 00000000
Working Register
Group
Figure 12. Register Pointer Register
LOCATION
R25
5
R25
4
R253
R252
R251
R250
R249
R248
R247
R246
R245
R244
R243
R242
R241
R240
Stack Pointer (Bits 7-0)
Reserved
Register Pointer
Program Control Flags
Interrupt Mask Register
Interrupt Request Register
Interrupt Priority Register
Reserved
Port 3 Mode
Port 2 Mode
T0 Prescaler
Timer/Counter0
Reserved
Reserved
Timer Mode
Reserved
IDENTIFIERS
SPL
RP
FLAGS
IMR
IRQ
IPR
P3M
P2M
PREQ
T0
TMR
Not Implemented
R 191
R4
General-Purpose
Registers
R3
Port 3
P3
R2
Port 2
P2
R1
Port 1
P1
R0
Port 0
P0
Note:* Will not be reset with a STOP Mode Recovery.
Figure 13. Register File Configuration
DS97KEY0204
PRELIMINARY
13