R01UH0823EJ0100 Rev.1.00
Page 262 of 1823
Jul 31, 2019
RX23W Group
14. Exception Handling
14.3
Acceptance of Exception Events
When an exception occurs, the CPU suspends the execution of the program and processing branches to the exception
handling routine.
14.3.1
Acceptance Timing and Saved PC Value
lists the timing of acceptance and the program counter (PC) value to be saved for each exception event.
Table 14.1
Acceptance Timing and Saved PC Value
Exception Event
Type of Handling
Acceptance
Timing
Value Saved in BPC or on the Stack
Undefined instruction exception
Instruction canceling
type
During instruction
execution
PC value of the instruction that
generated the exception
Privileged instruction exception
Instruction canceling
type
During instruction
execution
PC value of the instruction that
generated the exception
Access exception
Instruction canceling
type
During instruction
execution
PC value of the instruction that
generated the exception
Floating-point exception
Instruction canceling
type
During instruction
execution
PC value of the instruction that
generated the exception
Reset
Instruction
abandonment type
Any machine cycle
None
Non-maskable
interrupt
During execution of the RMPA,
SCMPU, SMOVB, SMOVF,
SMOVU, SSTR, SUNTIL, and
SWHILE instructions
Instruction
suspending type
During instruction
execution
PC value of the instruction being
executed
Other than above
Instruction
completion type
At the next break
between
instructions
PC value of the next instruction
Interrupt
During execution of the RMPA,
SCMPU, SMOVB, SMOVF,
SMOVU, SSTR, SUNTIL, and
SWHILE instructions
Instruction
suspending type
During instruction
execution
PC value of the instruction being
executed
Other than above
Instruction
completion type
At the next break
between
instructions
PC value of the next instruction
Unconditional trap
Instruction
completion type
At the next break
between
instructions
PC value of the next instruction