494CHAPTER 21 INTERRUPT AND TEST FUNCTIONS21.4.2 Maskable Interrupt request receptionFor a maskable interrupt request, the interrupt request flag is set at (1) and if the mask (MK) flag of that interruptis cleared (0), it is possible for it to be received. A vector interrupt request is received if an interrupt enable stateexists (when the IE flag is set at (1)). However, if a high priority order interrupt is being processed (when the ISPflag is reset (0)), an interrupt request which has a low priority order specified for it is not received.The timing from the time when a maskable interrupt request is generated until the interrupt is processed is shownin Table 21-3.For the timing of interrupt request reception, see Figures 21-14 and 21-15.Table 21-3. Times from Maskable Interrupt Request Generation to Interrupt ServiceMinimum Time Maximum TimeNoteWhen ××PR×=0 7 clocks 32 clocksWhen ××PR×=1 8 clocks 33 clocksNote If an interrupt request is generated just before a divide instruction, the wait time is maximized.Remark 1 clock : (fCPU: CPU clock)If two or more maskable interrupt requests are generated simultaneously, the request specified for higher prioritywith the priority specify flag is acknowledged first. Also, when the priority order specification flag specifies the samepriority order for two interrupts, the interrupt request with the higher default priority order is received first.Any reserved interrupts request are acknowledged when they become acknowledgeable.Figure 21-13 shows interrupt request acknowledge processing algorithms.If a maskable interrupt request is received, the contents of the program status word (PSW) and the program counter(PC) are saved to the stack in that order, the IE flag is reset (0) and the content of the received interrupt’s priorityorder specification flag is saved to the ISP flag. Further, for each interrupt request, data from the predetermined vectortable are loaded to the PC and branched.Return from the interrupt is possible with the RETI instruction.f CPU1