Internal Program Memory Space - NEC 78K0 User Manual

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0:
Table of Contents

Advertisement

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/KC1 products incorporate internal ROM (mask ROM or flash memory), as shown below.
Part Number
µ
PD780111
µ
PD780112
µ
PD780113
µ
PD780114
µ
PD78F0114
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
(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).
CHAPTER 3 CPU ARCHITECTURE
Table 3-2. Internal ROM Capacity
Structure
Mask ROM
Flash memory
Table 3-3. Vector Table
Interrupt Source
RESET input, POC, LVI,
clock monitor, WDT
INTLVI
INTP0
INTP1
INTP2
INTP3
INTP4
INTP5
INTSRE6
INTSR6
INTST6
User's Manual U16227EJ2V0UD
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)
32768 × 8 bits (0000H to 7FFFH)
Vector Table Address
0018H
INTCSI10/INTST0
001AH
INTTMH1
001CH
INTTMH0
001EH
INTTM50
0020H
INTTM000
0022H
INTTM010
0024H
INTAD
0026H
INTSR0
0028H
INTWTI
002AH
INTTM51
002CH
INTKR
002EH
INTWT
Interrupt Source
47

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kc1

Table of Contents