3.5.3
Multiple interrupts
As a special case, no hardware interrupt request can be accepted while data is being
written to the I/O area. This is intended to prevent the CPU from operating falsely
because of an interrupt request issued while an interrupt control register for a resource
is being updated.
If an interrupt occurs during interrupt processing, a higher-level interrupt is processed
first.
Multiple Interrupts
2
The F
MC-16LX CPU supports multiple interrupts. If an interrupt of a higher level occurs while another
interrupt is being processed, control is transferred to the high-level interrupt after the currently executing
instruction is completed. After processing of the high-level interrupt is completed, the original interrupt
processing is resumed. An interrupt of the same or lower level may be generated while another interrupt is
being processed. If this happens, the new interrupt request is suspended until the current interrupt
processing is completed, unless the ILM value or I flag is changed by an instruction. The extended
intelligent I/O service cannot be activated from multiple sources; while an extended intelligent I/O service
is being processed, all other interrupt requests or extended intelligent I/O service requests are suspended.
Figure 3.5-2 shows the order of the registers saved in the stack.
MSB
"H"
"L"
Figure 3.5-2 Registers Saved in Stack
Word (16 bits)
AH
AL
DPR
ADB
DPB
PCB
PC
PS
LSB
SSP (SSP value before interrupt)
SSP (SSP value after interrupt)
CHAPTER 3 INTERRUPTS
71
Need help?
Do you have a question about the F2MCTM-16LX and is the answer not in the manual?