CHAPTER 3 CPU ARCHITECTURE
Preliminary User’s Manual U16846EJ1V0UD
38
3.1.1 Internal program memory space
The internal program memory space stores the program and table data. Normally, it is addressed with the program
counter (PC).
78K0/KB1+ products incorporate internal ROM (flash memory), as shown below.
Table 3-2. Internal ROM Capacity
Internal ROM
Part Number
Structure Capacity
µ
PD78F0101H 8192
×
8 bits (0000H to 1FFFH)
µ
PD78F0102H 16384
×
8 bits (0000H to 3FFFH)
µ
PD78F0103H
Flash memory
24576
×
8 bits (0000H to 5FFFH)
The internal program memory space is divided into the following areas.
(1) Vector table area
The 64-byte area 0000H to 003FH is reserved as a vector table area. The program start addresses for branch
upon reset signal input or generation of each interrupt request are stored in the vector table area.
Of the 16-bit address, the lower 8 bits are stored at even addresses and the higher 8 bits are stored at odd
addresses.
Table 3-3. Vector Table
Vector Table Address
Interrupt Source
Vector Table Address
Interrupt Source
0000H
RESET input, POC, LVI
clock monitor, WDT
0016H INTST6
0004H INTLVI
0018H INTCSI10/INTST0
Note
0006H INTP0
001AH INTTMH1
0008H INTP1
001CH INTTMH0
000AH INTP2
001EH INTTM50
000CH INTP3
0020H INTTM000
000EH INTP4
0022H INTTM010
0010H INTP5
0024H INTAD
0012H INTSRE6
0026H INTSR0
Note
0014H INTSR6
Note Available only in the
µ
PD78F0102H and 78F0103H.
(2) CALLT instruction table area
The 64-byte area 0040H to 007FH can store the subroutine entry address of a 1-byte call instruction (CALLT).
(3) Option byte area
The option byte area is assigned to the 1-byte area of 0080H. Refer to CHAPTER 20 OPTION BYTE for details.
(4) CALLF instruction entry area
The area 0800H to 0FFFH can perform a direct subroutine call with a 2-byte call instruction (CALLF).