Error conditions, Z8 expanded register file – Zilog Z86193 User Manual
Page 17
Z8
®
CPU
User Manual
UM001604-0108
Address Space
10
Error Conditions
Registers in the
Z8
®
Standard Register File must be correctly used because certain condi-
tions produce inconsistent results and should be avoided.
•
Registers
F3h
and
F5h
–
F9h
are write-only registers. If an attempt is made to read
these registers,
FFh
is returned. Reading any write-only register returns
FFh
.
•
When register
FDh
(Register Pointer) is read, the least significant four bits (lower nib-
ble) indicate the current Expanded Register File Bank. (For example,
0000
indicates
the Standard Register File, while
1010
indicates Expanded Register File Bank A.)
•
When Ports 0 and 1 are defined as address outputs, registers
00h
and
01h
return 1s in
each address bit location when reading.
•
Writing to bits that are defined as timer output, serial output, or handshake output has
no effect.
•
The Z8 CPU instruction
DJNZ
uses any general-purpose working register as a counter.
•
Logical instructions such as OR and AND require that the current contents of the
operand be read. They therefore do not function properly on write-only registers.
•
The WDTMR register must be written within the first 60 internal system clocks
(SCLK) of operation after a reset.
Z8 Expanded Register File
The standard register file of the
Z8 CPU has been expanded to form 16 Expanded Register
File (ERF) Banks, as displayed in
on page 11. Each ERF Bank consists of up to
256 registers (the same amount as in the Standard Register File) that can then be divided
into 16 Working Register Groups. This expansion allows for access to additional feature/
peripheral control and data registers.
- Z86233 Z86243 Z86733 Z86743 Z86C02 Z86C04 Z86C08 Z86C15 Z86C21 Z86C30 Z86C31 Z86C33 Z86C36 Z86C40 Z86C43 Z86C61 Z86C62 Z86C63 Z86C65 Z86C83 Z86C90 Z86C91 Z86C93 Z86C96 Z86E02 Z86E03 Z86E04 Z86E06 Z86E07 Z86E08 Z86E15 Z86E21 Z86E30 Z86E31 Z86E33 Z86E34 Z86E40 Z86E43 Z86E44 Z86E61 Z86E63 Z86E83 Z86K15 Z86L02 Z86L04 Z86L08 Z86L16 Z8E000 Z8E001 Z8PE003