English
Language : 

UPD784915B Datasheet, PDF (50/86 Pages) NEC – 16-BIT SINGLE-CHIP MICROCONTROLLERS
µPD784915B, 784916B
Figure 4-1. Differences in Operation Depending on Interrupt Processing Mode
Macro service
Main
routine
Macro service
processing
Main routine
Context
switchingNote 1
Main
routine
Note 2
Interrupt
processing
Note 3 Main routine
Vector
interruptNote 2
Main
routine
Vector interrupt
Main
routine
Note 4
SEL
RBn
Interrupt
processing
Restoring
PC and Main routine
PSW
Saving Initializing
Note 4 general general
register register
Interrupt
processing
Restoring Restoring
general PC and
register PSW
Main
routine
Interrupt request generated
Notes 1. When the register bank switching function is used and when initial values are set in advance to the
registers
2. Selecting a register bank and saving PC and PSW by context switching
3. Restoring register bank, PC, and PSW by context switching
4. Saves PC and PSW to stack and loads vector address to PC
50