You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
<strong>eZ80</strong> <strong>CPU</strong><br />
User Manual<br />
7<br />
I/O Space<br />
A separate I/O space may include both on- and off-chip peripheral devices. The<br />
<strong>eZ80</strong> features a 64K I/O space with 16-bit addresses.<br />
Memory<br />
The <strong>eZ80</strong> provides three address generation modes—Native Z80, Virtual Z80<br />
and ADL mode.<br />
Native Z80 Mode<br />
The total memory address space is the first 64KB of the overall <strong>eZ80</strong> memory<br />
space. The Memory Base (MBASE) register is zero.<br />
Virtual Z80 Mode<br />
ADL Mode<br />
Addressing Modes<br />
The memory address space can be any 64KB in the overall 16MB <strong>eZ80</strong><br />
memory space under the control of the MBASE register.<br />
The <strong>eZ80</strong> operates in a 16MB linear address space. In this mode, the 16-bit PC,<br />
BC, DE, HL, IX, and IY registers expand to 24 bits. The processor automatically<br />
fetches an additional byte of address or immediate data in those instructions<br />
that contain a 16-bit address or data in other modes. Prefix-override bytes allow<br />
any instruction to operate in ADL mode in one of the first two modes or to use<br />
MBASE addressing in ADL mode.<br />
Memory addresses can be formed in several ways. The <strong>eZ80</strong> addressing<br />
modes include:<br />
• Immediate—In this mode of addressing, the byte(s) following the Op Code<br />
in memory contains the actual operand. When the immediate operand is<br />
larger than eight bits, the low-order byte is next after the Op Code byte<br />
followed by the high-ordered bytes.<br />
• Modified Page Zero—The <strong>eZ80</strong> has a special single byte CALL instruction<br />
to any of the eight locations in page zero (the first 256 bytes) of memory.<br />
These restart (RST) instructions set the PC to an effective address in page<br />
zero.<br />
UM007701-1100