English
Language : 

UPD784224 Datasheet, PDF (48/92 Pages) NEC – 16/8-BIT SINGLE-CHIP MICROCONTROLLERS
µPD784224, 784225, 784224Y, 784225Y
8.2 Vectored Interrupt
Execution branches to a servicing routing by using the memory contents of a vector table address corresponding
to the interrupt source as the address of the branch destination.
So that the CPU performs interrupt servicing, the following operations are performed:
• On branching: Saves the status of the CPU (contents of PC and PSW) to stack
• On returning : Restores the status of the CPU (contents of PC and PSW) from stack
To return to the main routine from an interrupt service routine, the RETI instruction is used.
The branch destination address is in a range of 0 to FFFFH.
Table 8-3. Vector Table Address
Interrupt Source
Vector Table Address
BRK instruction
003EH
Operand error
003CH
NMI
0002H
INTWDT (non-maskable) 0004H
INTWDTM (maskable) 0006H
INTP0
0008H
INTP1
000AH
INTP2
000CH
INTP3
000EH
INTP4
0010H
INTP5
0012H
INTIIC0
0016H
INTCSI0
INTSER1
0018H
INTSR1
001AH
INTCSI1
Interrupt Source
INTST1
INTSER2
INSR2
INTCSI2
INTST2
INTTM3
INTTM00
INTTM01
INTTM1
INTTM2
INTAD
INTTM5
INTTM6
INTWT
Vector Table Address
001CH
001EH
0020H
0022H
0024H
0026H
0028H
002AH
002CH
002EH
00030H
0032H
0038H
48
Data Sheet U12376EJ1V0DS00