User's Manual

Table Of Contents
R01UH0823EJ0110 Rev.1.10 Page 266 of 1852
Nov 30, 2020
RX23W Group 14. Exception Handling
14. Exception Handling
14.1 Exception Events
During execution of a program by the CPU, the occurrence of a certain event may cause execution of that program to be
suspended and execution of another program to be started. Such kinds of events are called exception events.
The RXv2 CPU supports eight types of exceptions. The types of exception events are shown in Figure 14.1.
The occurrence of an exception causes the processor mode to shift to supervisor mode.
Figure 14.1 Types of Exception Events
Exception events
Undefined instruction exception
Privileged instruction exception
Access exceptions
Floating-point exception
Reset
Non-maskable interrupt
Interrupt
Unconditional trap