English
Language : 

UPD78320 Datasheet, PDF (17/88 Pages) NEC – 16/8-BIT SINGLE-CHIP MICROCONTROLLER
µPD78320, 78322
2. CPU ARCHITECTURE
2.1 MEMORY SPACE
In the µPD78322 a maximum of 64K bytes of memory can be addressed (see Figure 2-1).
Program fetches can be performed within the area from 0000H to FDFFH. However, when external memory expansion
is implemented in the area from FE00H to FFFFH (main RAM and special function register area), program fetches can also
be performed on this area. In this case, a program fetch is performed on the external memory, not on the main RAM or special
function registers.
(1) Vector table area
Interrupt request from the peripheral hardware, reset input, external interrupt request and interrupt branch address
by break instruction are stored in the 0000H to 003FH 64-byte area. Generation of an interrupt request sets the even
address content of each table in the lower 8 bits of the program counter (PC) and the odd address content in the higher
8 bits, and a branch is made.
Interrupt Source
Vector Table Address
RESET
(RESET pin input) ...........................................
NMI
(NMI pin input) ................................................
WDT
(Watchdog timer) ............................................
TMF0
(Realtime pulse unit) .......................................
EXF0
(INTP0 pin input) .............................................
EXF1
(INTP1 pin input) .............................................
EXF2
(INTP2 pin input) .............................................
EXF3
(INTP3 pin input) .............................................
EXF4/CCFX0 (INTP4 pin input/realtime pulse unit) .............
EXF5/CCFX1 (INTP5 pin input/realtime pulse unit) .............
EXF6/TI
(INTP6/TI pin input) ........................................
CMF00
(Realtime pulse unit) .......................................
CMF01
(Realtime pulse unit) .......................................
CMF02
(Realtime pulse unit) .......................................
CMF03
(Realtime pulse unit) .......................................
CMF10
(Realtime pulse unit) .......................................
CMF11
(Realtime pulse unit) .......................................
SRF
(Serial receive complete) ................................
STF
(Serial send complete) ....................................
CSIIF
(Clocked serial interface) ................................
ADF
(A/D converter) ................................................
Operation code trap ...................................................................
BRK
(Break instruction) ...........................................
0000H
0002H
0004H
0006H
0008H
000AH
000CH
000EH
0010H
0012H
0014H
0016H
0018H
001AH
001CH
001EH
0020H
0024H
0026H
0028H
002AH
003CH
003EH
If bit 1 (TPF) of CPU control word (CCW) is set to 1, the 8002H to 803FH external memory area is used as an interrupt
vector table in place of 0002H to 003FH.
17