English
Language : 

UPD78320 Datasheet, PDF (23/88 Pages) NEC – 16/8-BIT SINGLE-CHIP MICROCONTROLLER
µPD78320, 78322
(4) CPU control word (CCW)
This is an 8-bit register consisting of CPU control related flags. It is mapped in the special function register area and
can be controlled by the software. All bits are reset to 0 by RESET input.
Figure 2-4. CCW Format
7
6
5
4
3
2
1
0
0
0
0
0
0
0 TPF 0 CCW
• Table position flag (TPF)
This flag is used to specify the interrupt vector table area and the memory area used as CALLT instruction table area.
As TPF has been reset to 0 after application of RESET input, the 0000H to 007FH address is used as each table area.
The 8002H to 807FH address of the external memory area in place of 0002H to 007FH address can be used as each
table area by setting TPF to 1 using the software. The vector tables of the BRK instruction, operation code trap interrupt
and reset input are fixed to 003EH, 003CH and 0000H, respectively, and they are not affected by TPF.
2.2.2 General Registers
These are 128-byte registers mapped in the special area (FE80H to FEFFH) of the internal RAM space. They consist
of eight register banks. The general register in the bank consists of sixteen 8-bit registers.
Figure 2-5. General Register Memory Location
FEFFH
FE80H
RBNK0
RBNK1
RBNK2
RBNK3
RBNK4
RBNK5
RBNK6
RBNK7
8-Bit Processing
R15 R14
R13 R12
R11 R10
R9
R8
R7
R6
R5
R4
R3
R2
R1
R0
7
07
0
16-Bit Processing
(FH) RP7
(DH) RP6
(BH) RP5
(9H) RP4
(7H) RP3
(5H) RP2
(3H) RP1
(1H) RP0
15
(EH)
(CH)
(AH)
(8H)
(6H)
(4H)
(2H)
(0H)
0
23