Fujitsu MB90480 Series Hardware Manual page 88

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 3 INTERRUPT
Software interrupt operation
Figure 3.5-1 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 save of the dedicated registers. The branch processing is
then executed.
3. The RETI instruction is executed in user's interrupt processing routine to end interrupt
processing.
Notes on software interrupts
If the program counter 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.
66
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

Advertisement

Table of Contents
loading

Table of Contents