RX610 Group
9. Exceptions
R01UH0032EJ0120 Rev.1.20
Page 207 of 1006
Feb 20, 2013
9.3
Acceptance of Exceptions
When an exception occurs, the CPU suspends the execution of the program and processing branches to the start of the
exception handling routine.
9.3.1
Timing of Acceptance and Saved PC Values
Table 9.1 lists the timing of acceptance and program counter (PC) value to be saved for each type of exception event.
Table 9.1 Timing of Acceptance and Saved PC Value
Exception
Type of Handling
Timing of
Acceptance
Value Saved in the BPC/
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
Floating-point exceptions
Instruction
canceling type
During instruction
execution
PC value of the instruction that
generated the exception
Reset
Program
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 the above
Instruction
completion type
At the next break
between
instructions
PC value of the next instruction
Interrupts
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 the 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