Z86C83/C84/E83
CMOS Z8
®
MCU Zilog
8-28 P R E L I M I N A R Y DS97DZ80700
FUNCTIONAL DESCRIPTION
RESET. (Input, Active Low). This pin initializes the MCU.
Reset is accomplished either through Power-On Reset
(POR), Watch-Dog Timer (WDT) Reset, or external reset.
During POR, and WDT Reset, the internally generated re-
set is driving the reset pin Low for the POR time. Any de-
vices driving the reset line must be open-drain to
avoid damage from a possible conflict during reset
conditions. Pull-up is provided internally.
After the POR time, /RESET is a Schmitt-triggered input.
After the reset is detected, an internal RST signal is
latched and held for an internal register count of 18 exter-
nal clocks, or for the duration of the external reset, which-
ever is longer. Program execution begins at location 000C
(hex), 5-10 TpC cycles after the RST is released. For POR,
the reset output time is T
POR
.
Program Memory. C83/C84/E83/E84 can address up to
4 KB of internal Program Memory (Figure 15). The first 12
bytes of program memory are reserved for the interrupt
vectors. These locations contain six 16-bit vectors that cor-
respond to the six available interrupts. Bytes 13 to 4095
consist of on-chip, mask-programmed ROM.
ROM Protect. The 4 KB of Program Memory is mask pro-
grammable. A ROM protect feature will prevent dumping
of the ROM contents from an external program outside the
ROM.
Expanded Register File. The register file has been ex-
panded to allow for additional system control registers and
for mapping of additional peripheral devices and input/out-
put ports into the register address area. The Z8 register
address space R0 through R15 is implemented as 16
groups of 16 registers per group (Figure 16). These regis-
ter banks are known as the Expanded Register File (ERF).
Bits 3-0 of the Register Pointer (RP) select the active ERF
bank. Bits 7-4 of register RP select the working register
group (Figure 16). Four system configuration registers re-
side in the ERF address space in Bank F and eight regis-
ters reside in Bank C. The rest of the ERF addressing
space is not physically implemented, and is open for future
expansion.
Note: When using Zilog's Cross Assembler version 2.1 or
earlier, use the LD RP, #0X instruction rather than the SRP
#0X instruction to access the ERF.
Figure 15. Program Memory Map
12
11
10
9
8
7
6
5
4
3
2
1
0
On-Chip
ROM
Location of
First Byte of
Instruction
Executed
After RESET
Interrupt
Vector
(Lower Byte)
Interrupt
Vector
(Upper Byte)
IRQ5
IRQ4
IRQ4
IRQ3
IRQ3
IRQ2
IRQ2
IRQ1
IRQ1
IRQ0
IRQ0
IRQ5
2048/4096
Z86C83/C84/E83
Zilog CMOS Z8
®
MCU
DS97DZ80700 P R E L I M I N A R Y 8-29
1
Figure 16. Expanded Register File Architecture
Z86C83/C84/E83
CMOS Z8
®
MCU Zilog
8-30 P R E L I M I N A R Y DS97DZ80700
FUNCTIONAL DESCRIPTION (Continued)
Register File. The Register File consists of three I/O port
registers, 237 general-purpose registers, 15 control and
status registers, and four system configuration registers in
the Expanded Register Group (Figure 16). The instruc-
tions can access registers directly or indirectly through an
8-bit address field. This allows a short 4-bit register ad-
dress using the Register Pointer (Figure 18). In the 4-bit
mode, the Register File is divided into 16 working register
groups, each occupying 16 continuous locations. The
Register Pointer (Figure 17) addresses the starting loca-
tion of the active working-register group.
Note: Register Bank E0-EF is only accessed either as
working registers or through indirect addressing modes.
CAUTION: D4 of Control Register P01M (R251) must
be 0.
R254. The C83/C84/E83 has one extra general-purpose
register located at FEH (R254).
Stack. The C83/C84/E83 has an 8-bit Stack Pointer
(R255) used for the internal stack that resides within the
236 general-purpose registers. Register R254 cannot be
used for stack.
General-Purpose Registers (GPR). These registers are
undefined after the device is powered up. The registers
keep their last value after any reset, as long as the reset
occurs in the V
CC
voltage-specified operating range. It will
not keep its last state from a V
LV
reset if the V
CC
drops be-
low 1.8V. This includes Register R254.
Note: Register Bank E0-EF is only accessed either as
working register or through indirect addressing modes.
RAM Protect. The upper portion of the RAM’s address
spaces %80F to %EF (excluding the control registers) are
protected from writing. The user activates this feature from
the internal ROM code to turn off/on the RAM Protect by
loading either a 0 or 1 into the Interrupt Mask (IMR) regis-
ter, bit D6. A 1 in D6 enables RAM Protect.
Figure 17. Register Pointer Register
D7 D6 D5 D4 D3 D2 D1 D0
Expanded Register Group
RP
R253
Note: Default Setting After Reset = 00000000
Figure 18. Register Pointer
The upper nibble of the register file address
provided by the register pointer specifies
the active working-register group.
r7 r6 r5 r4
R253
(Register Pointer)
I/O Ports*
Specified Working
Register Group
The lower nibble
of the register
file address
provided by the
instruction points
to the specified
register.
r3 r2 r1 r0
Register Group 1
Register Group 0*
R15 to R0
R15 to R4*
R3 to R0*
R15 to R0
FF
F0
0F
00
1F
10
2F
20
3F
30
4F
40
5F
50
6F
60
7F
70
* Expanded Register File Bank (0) is selected
in this figure by handling bits D3 to D0 as "0"
in Register R253 (RP).

Z86E8316PSG

Mfr. #:
Manufacturer:
ZiLOG
Description:
8-bit Microcontrollers - MCU 4K OTP 16MHz W/ADC
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union