Fujitsu F2MC-16LX Hardware Manual page 89

16-bit microcontroller mb90330 series
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

Operation of Software Interrupt
Figure 3.5-1 shows the operation sequence from generation of a software interrupt to completion of
interrupt handling.
Internal bus
PS : Processor status
I
: Interrupt enable flag
S : Stack flag
IR : Instruction register
(1) Software interrupt instruction is executed.
(2) The required processes are performed; for example, the contents of the dedicated registers are saved
according to the microcode associated with the software interrupt instruction. The branching process is
then executed.
(3) The RETI instruction in the user-defined interrupt handling routine terminates the interrupt handling.
Precautions on Software Interrupt
If the program bank register (PCB) is "FF
table for the INT#vct8 instruction. When creating the software, pay attention to overlap of the CALLV
instruction and INT#vct8 instruction addresses.
Figure 3.5-1 Operation of Software Interrupt
PS, PC
(2) Microcode
RAM
H
PS
(1)
IR
Queue
", the vector area for the CALLV instruction overlaps with the
CHAPTER 3 INTERRUPT
I
S
Fetch
73

Advertisement

Table of Contents
loading

Table of Contents