CHAPTER 3 INTERRUPT
I Software interrupt operation
Figure 3.5-1 "Software interrupt operation" shows the operation starting from software interrupt
generation until interrupt processing completion.
Internal data bus
PS : Processor status
I
: Interrupt enable flag
S : Stack flag
IR : Instruction register
1. Run a software interrupt instruction.
2. Based on the microcode corresponding to the software interrupt instruction, the necessary
processes are performed, such as storage of the dedicated registers.
processing is then executed.
3. The RETI instruction is executed in user's interrupt processing routine to end interrupt
processing.
I Notes on software interrupts
If the program bank register (PCB) is set to "FF
duplicated with the table for INT #vct8 instructions. When creating software, make sure that the
CALLV instruction and INT #vct8 instruction have no address duplication.
68
Figure 3.5-1 Software interrupt operation
PS,PC
(2) Microcode
RAM
PS
I
(1)
IR
Queue
", the CALLV instruction vector area is
H
S
Fetch
The branch