Z8 Microcontrollers
Address Space ZiLOG
2-10 UM001601-0803
2.5 PROGRAM MEMORY
The first 12 bytes of Program Memory are reserved for the inter-
rupt vectors (Figure 2-7). These locations contain six 16-bit vec-
tors that correspond to the six available interrupts. Address 12 up
to the maximum ROM address consists of on-chip mask-pro
-
grammable ROM. See the product data sheet for the exact pro-
gram, data, register memory size, and address range available.
At addresses outside the internal ROM, the Z8 executes external
program memory fetches through Port 0 and Port 1 in Ad
-
dress/Data mode for devices with Port 0 and Port 1 featured.
Otherwise, the program counter will continue to execute NOPs
up to address FFFFH, roll over to 0000H, and continue to fetch
executable code (Figure 2-7).
The internal program memory is one-time programmable (OTP)
or mask programmable dependent on the specific device. A
ROM protect feature prevents dumping of the ROM contents by
inhibiting execution of the LDC, LDCI, LDE, and LDEI
instructions to Program Memory in all modes. ROM look-up
tables cannot be used with this feature.
The ROM Protect option is mask-programmable, to be selected
by the customer when the ROM code is submitted. For the OTP
ROM, the ROM Protect option is an OTP programming option.
Figure 2-7. Z8 Program Memory Map
Interrupt
External
On - Chip
65535
ROM and RAM
ROM
IRQ
5
4096
Interrupt
Location of
IRQ
0
IRQ
0
IRQ
1
IRQ
1
IRQ
2
IRQ
2
IRQ
3
IRQ
3
IRQ
4
IRQ
4
IRQ
5
4095
12
1
2
3
4
5
6
7
8
9
10
11
0
First Byte of
Instruction
Executed
After RESET
Vector
(Lower Byte)
Vector
(Upper Byte)