English
Language : 

UPD780138 Datasheet, PDF (58/558 Pages) NEC – 8-Bit Single-Chip Microcontrollers
CHAPTER 3 CPU ARCHITECTURE
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/KE1 products incorporate internal ROM (mask ROM or flash memory), as shown below.
Part Number
µPD780131
µPD780132
µPD780133
µPD780134
µPD78F0134
µPD780136
µPD780138
µPD78F0138
Table 3-2. Internal ROM Capacity
Structure
Mask ROM
Flash memory
Mask ROM
Flash memory
Internal ROM
Capacity
8192 × 8 bits (0000H to 1FFFH)
16384 × 8 bits (0000H to 3FFFH)
24576 × 8 bits (0000H to 5FFFH)
32768 × 8 bits (0000H to 7FFFH)
49152 × 8 bits (0000H to BFFFH)
61440 × 8 bits (0000H to EFFFH)
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.
Vector Table Address
0000H
0004H
0006H
0008H
000AH
000CH
000EH
0010H
0012H
0014H
0016H
0018H
001AH
001CH
Table 3-3. Vector Table
Interrupt Source
RESET input, POC, LVI,
clock monitor, WDT
INTLVI
INTP0
INTP1
INTP2
INTP3
INTP4
INTP5
INTSRE6
INTSR6
INTST6
INTCSI10/INTST0
INTTMH1
INTTMH0
Vector Table Address
001EH
0020H
0022H
0024H
0026H
0028H
002AH
002CH
002EH
0030H
0032H
0034H
0036H
0038H
003AH
Interrupt Source
INTTM50
INTTM000
INTTM010
INTAD
INTSR0
INTWTI
INTTM51
INTKR
INTWT
INTP6
INTP7
INTDMU
INTCSI11Note
INTTM001Note
INTTM011Note
Note Available only in the µPD780133, 780134, 78F0134, 780136, 780138, and 78F0138.
(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) CALLF instruction entry area
The area 0800H to 0FFFH can perform a direct subroutine call with a 2-byte call instruction (CALLF).
58
User’s Manual U16228EJ2V0UD