UPD78F0138 NEC, UPD78F0138 Datasheet - Page 58

no-image

UPD78F0138

Manufacturer Part Number
UPD78F0138
Description
(UPD78xxxx) 8-Bit Single-Chip Microcontrollers
Manufacturer
NEC
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
UPD78F0138M1GK-9ET
Manufacturer:
NEC
Quantity:
115
Part Number:
UPD78F0138M5GB
Manufacturer:
NEC
Quantity:
20 000
3.1.1 Internal program memory space
counter (PC).
(1) Vector table area
(2) CALLT instruction table area
(3) CALLF instruction entry area
58
The internal program memory space stores the program and table data. Normally, it is addressed with the program
78K0/KE1 products incorporate internal ROM (mask ROM or flash memory), as shown below.
The internal program memory space is divided into the following areas.
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.
The 64-byte area 0040H to 007FH can store the subroutine entry address of a 1-byte call instruction (CALLT).
The area 0800H to 0FFFH can perform a direct subroutine call with a 2-byte call instruction (CALLF).
Note Available only in the
Vector Table Address
µ
µ
µ
µ
µ
µ
µ
µ
PD780131
PD780132
PD780133
PD780134
PD78F0134
PD780136
PD780138
PD78F0138
000AH
000CH
000EH
001AH
001CH
0000H
0004H
0006H
0008H
0010H
0012H
0014H
0016H
0018H
Part Number
µ
RESET input, POC, LVI,
clock monitor, WDT
INTLVI
INTP0
INTP1
INTP2
INTP3
INTP4
INTP5
INTSRE6
INTSR6
INTST6
INTCSI10/INTST0
INTTMH1
INTTMH0
PD780133, 780134, 78F0134, 780136, 780138, and 78F0138.
Interrupt Source
Table 3-2. Internal ROM Capacity
CHAPTER 3 CPU ARCHITECTURE
Mask ROM
Flash memory
Mask ROM
Flash memory
User’s Manual U16228EJ2V0UD
Table 3-3. Vector Table
Structure
Vector Table Address
002CH
Internal ROM
001EH
0020H
0022H
0024H
0026H
0028H
002AH
002EH
0030H
0032H
0034H
0036H
0038H
003AH
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)
INTTM50
INTTM000
INTTM010
INTAD
INTSR0
INTWTI
INTTM51
INTKR
INTWT
INTP6
INTP7
INTDMU
INTCSI11
INTTM001
INTTM011
Capacity
Interrupt Source
Note
Note
Note

Related parts for UPD78F0138