English
Language : 

Z86L88 Datasheet, PDF (27/66 Pages) Zilog, Inc. – INFRARED REMOTE CONTROLLERS
Z86L88/81/86/87/89/73
IR/Low-Voltage Microcontroller
Expanded Register File. The register file has been ex- For example:
panded to allow for additional system control registers,
and for mapping of additional peripheral devices into the Z86L73: (See Figure 21)
register address area. The Z8 register address space R0
1
through R15 has been implemented as 16 banks of 16 reg- R253 RP = 00h
isters per bank. These register groups are known as the
R0 = Port 0
ERF (Expanded Register File). Bits 7-4 of register RP se-
R1 = Port 1
lect the working register group. Bits 3-0 of register RP se-
R2 = Port 2
lect the expanded register file bank. Note that expanded
R3 = Port 3
register bank is also referred to as expanded register
group (Figure 21).
But if:
The upper nibble of the register pointer (Figure 23) selects
which working register group of 16 bytes in the register file,
out of the possible 256, will be accessed. The lower nibble
selects the expanded register file bank and, in the case of
the Z86LXX family, banks 0, F, and D are implemented. A
0h in the lower nibble will allow the normal register file
(bank 0) to be addressed, but any other value from 1h to
Fh will exchange the lower 16 registers to an expanded
register bank.
R253 RP = 0Dh
R0 = CTRL0
R1 = CTRL1
R2 = CTRL2
R3 = Reserved
The counter/timers are mapped into ERF group D. Access
is easily done using the following example:
LD RP, #0Dh Select ERF D for access to bank D ( work-
ing register group 0)
LD R0,#xx load CTRL0
LD 1, #xx
load CTRL1
LD R1, 2
CTRL2 → CTRL1
LD RP, #7Dh Select expanded register bank D and
working register group 7 of bank 0 for access .
LD 71h, 2
CTRL2 → register 71h
LD R1, 2
CTRL2 → register 71h
DS96LV00800
PRELIMINARY
27