The Zilog eZ80 is an 8-bit microprocessor core designed by Zilog as a successor to its earlier Zilog Z80 and Zilog Z180 processors. Announced around 2001 and marketed in the eZ80 and eZ80Acclaim! product lines, it retains binary compatibility with the Z80 instruction set while adding a 24-bit linear addressing mode and a substantially faster execution pipeline. The instruction set is described by Zilog as a superset of the Z80 and Z180 instruction sets, so legacy Z80 and Z180 programs generally run on the eZ80 with little or no modification.
Architecture
The eZ80 CPU is an 8-bit microcontroller core that performs certain 16- and 24-bit operations. Principal architectural features, as documented by Zilog, include:
- Upward code compatibility with the Z80 and Z180;
- 24-bit registers and a 24-bit arithmetic logic unit (ALU) with an 8-bit data path;
- Several address-generation modes, including 24-bit linear addressing;
- Single-cycle instruction fetch with a pipelined fetch–decode–execute structure (a three-stage pipeline);
- Two banks of working registers (main and alternate) for fast context switching, as in the Z80.
Zilog states that the eZ80 executes code up to four times faster than a standard Z80 operating at the same clock frequency, owing largely to the 24-bit arithmetic unit and the pipelined execution. Because the CPU flushes prefetched instructions whenever the program counter changes (jumps, calls, returns, interrupts and similar events), execution timing remains deterministic, and the core does not employ a cache memory; it is intended to work directly with fast static RAM. The memory interface resembles that of the original Z80, including bus request/acknowledge signals, with the addition of integrated chip selects on integrated devices.
Memory modes
The eZ80 operates in two principal memory modes, selected by the Address and Data Long (ADL) mode bit:
- Z80 memory mode (ADL = 0) — the default mode after reset. Addresses and CPU registers are 16 bits wide. An 8-bit MBASE register is prepended to the 16-bit address, yielding a 24-bit address of the form {MBASE, ADDR[15:0]}, which allows 16-bit Z80-style code to be relocated anywhere within the 16 MB address space in 64 KB pages.
- ADL memory mode (ADL = 1) — multibyte registers (BC, DE, HL, IX, IY, SP and PC) are extended to 24 bits, and the full 16 MB address space is linearly addressable without a memory management unit. A 24-bit Stack Pointer Long (SPL) register replaces the 16-bit Stack Pointer Short (SPS) register. MBASE does not affect addressing in this mode, although it can only be written while in ADL mode.
A Mixed-ADL (MADL) control bit, set by the STMIX instruction and cleared by RSMIX, configures the CPU for programs that combine Z80-mode and ADL-mode code. When MADL is set, the CPU pushes a byte recording the current memory mode onto the stack during interrupts, traps and restarts, so that execution can return to the correct mode. Persistent mode changes occur only as part of suffixed CALL, JP, RST, RET, RETI or RETN instructions, or as part of an interrupt or trap operation.
To support mixed-mode code, Zilog added opcode suffixes — .SIS, .SIL, .LIS and .LIL — which assemble into the prefix bytes 40h, 52h, 49h and 5Bh respectively (bytes that previously encoded the functionally null Z80 instructions LD B,B; LD D,D; LD C,C; and LD E,E). The ".S"/".L" component selects 16- or 24-bit operation of the CPU's data block, while ".IS"/".IL" selects whether a multibyte immediate value or address in the instruction stream is two or three bytes long. In Zilog's assembler these are selected with the .ASSUME ADL=0 or .ASSUME ADL=1 directives. Zilog recommends avoiding the .SIL suffix in cases where both of its components are relevant, because it can produce unexpected results.
Variants
The eZ80 family includes several integrated single-chip devices that retain external address and data buses, allowing them to serve as general-purpose microprocessors:
- eZ80Acclaim! — microcontrollers integrating flash memory (up to 128 KB in the eZ80F92) and SRAM, operating at clock rates up to 20 MHz. Members include the eZ80F91, eZ80F92 and eZ80F93.
- eZ80AcclaimPlus! — adds an Ethernet MAC and TCP/IP support to the eZ80Acclaim! feature set, with speeds up to 50 MHz (eZ80F91 ASSP).
- eZ80190 — a 50 MHz microprocessor with 8 KB SRAM, a 16×16-bit multiply-and-accumulate unit with 40-bit accumulators and 1 KB of dual-port SRAM, two-channel DMA, and Universal Zilog Interface (UZI) channels supporting I²C, SPI and UART.
- eZ80L92 — a power-efficient device operating at up to 50 MHz with 24 bits of general-purpose I/O, IrDA-compatible infrared encoder/decoder, two UARTs, I²C, SPI, six programmable reload timers, real-time clock, watch-dog timer, JTAG and Zilog Debug Interface (ZDI).
Zilog also offered the eZ80 as a licensable soft-core processor for integration into application-specific designs.
Applications
The eZ80 has been used in embedded and consumer products. Notably, the Texas Instruments TI-84 Plus CE graphing calculator uses an eZ80 running in 24-bit ADL mode at 48 MHz, and the eZ80L92 powers the ST Robotics R12 robot controller at 50 MHz. Zilog's own eZ80Acclaim! parts target embedded Internet, industrial, communications, security and automation applications.
Relationship to the Z80
The eZ80 extended the long-lived Z80 architecture rather than replacing it. In April 2024, Zilog announced the discontinuation of the original Z80, an event widely covered in the technology press, while the eZ80 family and its derivatives remained the company's continuation of the architecture.
References
- Zilog, eZ80 CPU User Manual (UM0077), Zilog, Inc.
- Zilog, eZ80L92 Product Brief (PB0086).
- Zilog, eZ80190 Product Brief (PB0052).
- Zilog, eZ80 Product Specification (PS0022).
- "Zilog eZ80," Wikipedia.
- Liam Proven, "The eight-bit Z80 is dead. Long live the 16-bit Z80!", The Register, April 26, 2024.
- ST Robotics, R12 Robot Manual.