Table 3.2.1 Interrupt Level - Fujitsu F2MC-8L MB89620 Series Hardware Manual

8-bit microcontroller
Table of Contents

Advertisement

Check: The condition code register is part of the program status (PS) and cannot be accessed
independently.
Note: In practice, the flag bits are rarely fetched and used directly. Instead, the bits are used indirectly by
instructions such as branch instructions (such as BNZ) or the decimal adjustment instructions (DAA,
DAS). The content of the flags after a reset is indeterminate.
n Interrupt Acceptance Control Bit
l
Interrupt enable flag (I)
Interrupt is enabled when this flag is set to "1" and the CPU accepts interrupt. Interrupt is
prohibited when this flag is set to "0" and the CPU does not accept interrupt.
The initial value after a reset is "0".
Normal practice is to set the flag to "1" by the SETI instruction and clear to "0" by the CLRI
instruction.
Interrupt level bits (IL1, IL0)
l
These bits indicate the level of the interrupt currently being accepted by the CPU. The value is
compared with the interrupt level setting registers (ILR1 to ILR3) which have a setting for each
peripheral function interrupt request (IRQ0 to IRQB).
Given that the interrupt enable flag is enabled (I = "1"), the CPU only performs interrupt
processing for interrupt requests with an interrupt level value that is less than the value of these
bits. Table 3.2.1 lists the interrupt level priorities. The initial value after a reset is "11".

Table 3.2.1 Interrupt Level

IL1
0
0
1
1
Note: The interrupt level bits (IL1, IL0) are normally "11" when the CPU is not processing an interrupt
(during main program execution).
Reference: See Section 3.4, "Interrupts" for details on interrupts.
MB89620 series
IL0
Interrupt level
0
1
1
0
2
1
3
High-low
High
Low (no interrupt)
39
CHAPTER 3 CPU

Advertisement

Table of Contents
loading

Table of Contents