English
Language : 

UPD784044 Datasheet, PDF (42/90 Pages) NEC – 16-BIT SINGLE-CHIP MICROCONTROLLER
µPD784044(A), 784046(A)
8.2 Vectored Interrupt
Execution branches to a processing routine by using the memory contents of the vector table address
corresponding to an interrupt source as the branch destination address.
The following operations are performed so that the CPU processes the interrupt:
• On branch : Saves status of CPU (contents of PC and PSW) to stack
• On returning : Restores status of CPU from stack
Execution is returned from the processing routine to the main routine by the RETI instruction.
The branch destination address must be in a range of 0 to FFFFH.
Table 8-3. Vector Table Address
Interrupt Source
BRK instruction
Operand error
NMI
INTWDT
INTOV0
INTOV1
INTOV4
INTP0
INTCC00
INTP1
INTCC01
INTP2
INTCC02
INTP3
INTCC03
INTP4
INTP5
INTP6
Vector Table Address
003EH
003CH
0002H
0004H
0006H
0008H
000AH
000CH
000EH
0010H
0012H
0014H
0016H
0018H
Interrupt Source
INTCM10
INTCM11
INTCM20
INTCM21
INTCM30
INTCM31
INTCM40
INTCM41
INTSER
INTSR
INTCSI1
INTST
INTSER2
INTSR2
INTCSI2
INTST2
INTAD
Vector Table Address
001AH
001CH
001EH
0020H
0022H
0024H
0026H
0028H
002AH
002CH
002EH
0030H
0032H
0034H
0036H
42