EasyManuals Logo
Home>ZiLOG>Computer Hardware>eZ80

ZiLOG eZ80 User Manual

Default Icon
411 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #20 background imageLoading...
Page #20 background image
eZ80
®
CPU
User Manual
UM007714-0908 Registers and Bit Flags
11
Interrupt Enable Flags (IEF1 and IEF2)—in the CPU, there are two interrupt enable
flags that are set or reset using the Enable Interrupt (EI) and Disable Interrupt (DI)
instructions. When IEF1 is reset to 0, a maskable interrupt cannot be accepted by the
CPU. The Interrupt Enable flags are described in more detail in Interrupts on page 36.
eZ80
®
CPU Registers in Z80 Mode
In Z80 mode, the BC, DE, and HL register pairs and the IX and IY
registers function as 16-bit registers for multibyte operations and indirect addressing. The
active Stack Pointer is the 16-bit Stack Pointer Short
register (SPS). The Program Counter register (PC) is also 16 bits long. The address is 24
bits long and is composed as {MBASE, ADDR[15:0]}. While the MBASE register is only
used during Z80 mode operations, it cannot be written while operating in this mode.
Tables 1 and 2 lists the CPU registers and bit flags during Z80 mode operation.
In Z80 mode, the upper byte (bits 23:16) of each multibyte register is
undefined. When performing 16-bit operations with these registers, the
application program cannot assume values or behavior for the upper byte. The upper
byte is only valid in ADL mode.
In Z80 mode, the upper byte of the I register, bits [15:8], is not used.
Table 1. CPU Working Registers in Z80 Mode
Main Register Set Alternate Register Set
8-Bit
Registers
8-Bit
Registers
AA
FF
Individual
8-Bit
Registers
Or
16-Bit
Registers
Individual
8-Bit
Registers
Or
16-Bit
Registers
B C BC B’ C’ BC’
D E DE D’ E’ DE’
H L HL H’ L HL
Caution:
Note:

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ZiLOG eZ80 and is the answer not in the manual?

ZiLOG eZ80 Specifications

General IconGeneral
BrandZiLOG
ModeleZ80
CategoryComputer Hardware
LanguageEnglish

Related product manuals