Addresses

The addresses used ny the Z80

The Z80 uses a fixed set of addresses in Page 0 of the address space:

Address Instruction Usage
0000 RST 0 Initial power on
RST 0 instruction is invoked.
RESET pin is held low
0008 RST 1 RST 1 instruction is invoked.
0010 RST 2 RST 2 instruction is invoked.
0018 RST 3 RST 3 instruction is invoked.
0020 RST 4 RST 4 instruction is invoked.
0028 RST 5 RST 5 instruction is invoked.
0030 RST 6 RST 6 instruction is invoked.
0038 RST 7 RST 7 instruction is invoked.
INT Maskable Interrupt handler when in Interrupt Mode 1
0066 NMI interrupt handler

Addresses 0x0000…0x003F are used by the 8 RST instructions with 8 bytes available for each. RST 0 is also the start address for when the processor powers on or is reset.

Last modified November 11, 2021: Reformat (d656f9a)