3-1
Z380
™
U
SER
'
S
M
ANUAL
Z
ILOG
DC-8297-03
3.1 INTRODUCTION
U
SER
’s M
ANUAL
C
HAPTER
3
N
ATIVE
E
XTENDED
M
ODE
, W
ORD
/L
ONG
W
ORD
M
ODE
O
F
O
PERATIONS
AND
D
ECODER
D
IRECTIONS
The Z380
™
CPU architecture allows access to 4 Gbytes
(2
32
) of memory addressing space, and 4G locations of
I/O. It offers 16/32-bit manipulation capability while main-
taining object-code compatibility with the Z80 CPU. In
order to implement these capabilities and new instruction
sets, it has two modes of operation for address manipula-
tion (Native or Extended mode), two modes of operation for
data manipulation (Word or Long Word mode), and a
special set of new Decoder Directives.
On Reset, the Z380 CPU defaults in Native mode and Word
mode. In this condition, it behaves exactly the same as the
Z80 CPU, even though it has access to the entire 4 Gbytes
of memory for data access and 4G locations of I/O space,
access to the newly added registers which includes Ex-
tended registers and register banks, and the capability of
executing all the Z380 instructions.
As described below, the Z380 CPU can be switched
between Word mode and Long Word mode during opera-
tion through the SETC LW and RESC LW instructions, or
Decoder Directives. The Native and Extended modes are
a key exception— it defaults up in Native mode, and can
be set to Extended mode by the instruction. Only Reset can
return it to Native mode. Figure 3-1 illustrates the relation-
ship between these modes of operation.
For the instructions which work with the DDIR instructions, refer to Appendix D and E.
Word
Long Word
Native
Z380
Extended
Z80 Native Mode
Figure 3-1. Z380
™
CPU Operation Modes