Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

Z89139 View Datasheet(PDF) - Zilog

Part Name
Description
MFG CO.
'Z89139' PDF : 66 Pages View PDF
Zilog
Z89138/Z89139
Voice Processing Controllers
Register File. The standard Z8 register file consists of four The SMR register, WDT Register, control and data regis-
I/O port registers, 236 general-purpose registers, and 15 ters for Port 4 and Port 5, and the DSP control register are
control and status registers (R0-R3, R4-R239, and R241-
R255, respectively). The instructions access registers di-
located in Bank F of the Expanded Register File. Bank B
of the Expanded Register File consists of the Mailbox In-
1
rectly or indirectly through an 8-bit address field. This al- terface through which the Z8 and the DSP communicate.
lows a short, 4-bit register address using the Register The rest of the Expanded Register is not physically imple-
Pointer (Figure 19). In the 4-bit mode, the register file is mented and is open for future expansion.
divided into 16 working register groups, each occupying 16
continuous locations. The Register Pointer addresses the
starting location of the active working register group (Fig-
ure 20).
R253 RP
D7 D6 D5 D4 D3 D2 D1 D0
Note: Register Group E (Registers EF-E0) is only access-
ed through a working register and indirect addressing
modes.
Expanded Register File Bank
Working Register Group
RAM Protect. The upper portion of the Z8’s RAM address
spaces 80H to EFH (excluding the control registers) is pro-
tected from reading and writing. The RAM Protect bit op-
tion is mask-programmable and is selected by the custom-
er when the ROM code is submitted. After the mask option
is selected, the user activates the RAM Protect from the in-
ternal ROM code by loading a bit D6 in the IMR register to
either a 0 (OFF) or a 1 (ON). A 1 in D6 indicates RAM Pro-
tect enabled.
Stack. The Z8’s external data memory or the internal reg-
ister file is used for the stack. The 16-bit Stack Pointer
(R255-R254) is used for the external stack which can re-
side only from 24576 to 65535 in ROM mode or 0 to 65535
in ROMless mode. An 8-bit Stack Pointer (R255) is used
for the internal stack residing within the 236 general-pur-
pose registers (R239-R4). SPH can be used as a general-
purpose register when using internal stack only.
Figure 19. Register Pointer Register
r7 r6 r5 r4 r3 r2 r1 r0
Group 15 (F) Control Registers
R255
R253
R240
The upper nibble of the register file address
provided by the register pointer specifies
the active working-register group
Group 14 (E)
Group 13 (D)
R239
R223
Expanded Register File. The register file on the Z8 has
been expanded to allow for additional system control reg-
isters and for mapping of additional peripheral devices
along with I/O ports into the register address area. The Z8
register address space has been implemented as 16
banks of 16 register groups per bank (Figure 20). These
register banks are known as the ERF (Expanded Register
File). Bits 7-4 of register RP (Register Pointer) select the
working register group. Bits 3-0 of register RP select the
Expanded Register bank (Figure 21).
Group 4 (4)
Specified Working
Group 3 (3) Register Group
Group 2 (2)
Group 1 (1)
Group 0 (0)
I/O Ports
R79
The upper nibble
of the register
R63 file address
provided by the
instruction points
R47 to the specified
working-register
group
R31
R15
R3
R0
Figure 20. Register Pointer
DS97TAD0201
PRELIMINARY
31
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]