When the interrupt priority level is "0" and interrupt request bit is "1", what would happen if I set the interrupt priority level to "7"? Will the interrupt be accepted, or will the interrupt request bit be cleared to "0"? [M32C/80 Series, M16C/80 Series]
The interrupt will be accepted. Then, the interrupt request bit will be cleared.
However, if you use the MOV instruction to change the interrupt priority level, the interrupt request bit may be cleared to "0". The interrupt will not be accepted when the interrupt request bit is cleared at this time. To avoid this problem, please use the following instructions to change the interrupt priority level:
AND, OR, BCLR, BSET
|M16C/6NK, M16C/6NL, M16C/6NM, M16C/6NN|