Return From Exception Handling Routine; Priority Of Exception Events - Renesas RX100 Series User Manual

32-bit mcu
Hide thumbs Also See for RX100 Series:
Table of Contents

Advertisement

RX13T Group
13.6

Return from Exception Handling Routine

Executing the instruction listed in Table 13.3 at the end of the corresponding exception handling routine restores the
values of the program counter (PC) and processor status word (PSW) that were saved on the stack or in the control
registers (BPC and BPSW) immediately before the exception handling sequence.
Table 13.3
Return from Exception Handling Routine
Exception
Undefined instruction exception
Privileged instruction exception
Floating-point exception
Reset
Non-maskable interrupt
Interrupt
Unconditional trap
13.7

Priority of Exception Events

The priority of exception events is listed in Table 13.4 . When multiple exceptions are generated at the same time, the
exception with the highest priority is accepted first.
Table 13.4
Priority of Exception Events
Priority
High
1
2
3
4
5
Low
6
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
Fast interrupt
Other than above
Exception Event
Reset
Non-maskable interrupt
Interrupt
Undefined instruction exception
Privileged instruction exception
Unconditional trap
Floating-point exception
13. Exception Handling
Instruction for Return
RTE
RTE
RTE
Return is impossible
Return is impossible
RTFI
RTE
RTE
Page 197 of 1041

Advertisement

Table of Contents
loading

Table of Contents