Figure 5-9. Example of Processing Interrupt Requests Simultaneously Generated
Interrupt request a (level 2)
Interrupt request b (level 1)
Interrupt request c (level 1)
116
CHAPTER 5
INTERRUPT/EXCEPTION PROCESSING FUNCTION
Main routine
EI
Processing of interrupt request b
Processing of interrupt request c
Processing of interrupt request a
•
Interrupt request b and c are accepted
first according to their priorities.
•
Because the priorities of b and c
are the same, b is accepted first
because it has the higher default
priority.