SINGLE-CHIP 32-BIT CMOS MICROCOMPUTER
MITSUBISHI MICROCOMPUTERS
M32000D4AFP
16
EIT events are shown below.
Reserved instruction exception (RIE)
The reserved instruction exception (RIE) occurs when execution of a
reserved instruction (unimplemented instruction) is detected.
Address exception (AE)
The address exception (AE) occurs if an attempt is made to access
an unaligned address with either a load instruction or a store instruc-
tion.
Reset interrupt (RI)
The reset interrupt (RI) is always accepted when the RST signal is
input. It has the highest priority.
Wakeup interrupt (WI)
The wakeup interrupt (WI) is accepted when the WKUP signal is
input while the M32000D4AFP is in standby mode. It is only used to
return from standby mode.
System break interrupt (SBI)
The system break interrupt (SBI) is an interrupt request from the SBI
pin. It is used when a break in power source or an error from an
external watchdog timer is detected. It is also used to return from
CPU sleep mode and to start an M32000D4AFP set to slave mode.
External interrupt (EI)
The external interrupt (EI) is an interrupt request from the INT pin. It
is used by an interrupt from the external peripheral I/O and can be
masked by the IE bit in the PSW register. It is also used to return
from CPU sleep mode and to start an M32000D4AFP set to slave
mode.
Trap
The trap (TRAP) is a software interrupt which is generated by ex-
ecuting the TRAP instruction. A total of 16 EIT vector entries are
available for operands 0 to 15 of the TRAP instruction.
EIT
While the CPU is executing a program, sometimes it is necessary to
suspend execution, because a certain event occurs, and execute
another program. These kinds of events are referred to as EIT (Ex-
ception, Interrupt, Trap).
Exception
The event is related to the context being executed. It is generated by
errors or violations that occur during instruction execution. With the
M32000D4AFP, the address exception (AE) and reserved instruc-
tion exception (RIE) are of this type.
Interrupt
The event is not related to the context being executed. It is gener-
ated by an external hardware signal. With the M32000D4AFP, the
external interrupt (EI), system break interrupt (SBI), wakeup inter-
rupt (WI) and reset interrupt (RI) are of this type.
Trap
This is a software interrupt which is generated by executing the TRAP
instruction. It is intentionally added to the program by the program-
mer, as a system call.
Fig. 11 EIT events
EIT
Exception
Reserved Instruction
Exception (RIE)
Address Exception (AE)
Interrupt
Reset Interrupt (RI)
Wakeup Interrupt (WI)
System Break Interrupt (SBI)
External Interrupt (EI)
Trap
Trap (TRAP)