Acceptance Of Exception Events; Acceptance Timing And Saved Pc Value; Vector And Site For Saving The Values In The Pc And Psw - Renesas RX100 Series User Manual

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

Advertisement

RX13T Group
13.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.
13.3.1

Acceptance Timing and Saved PC Value

Table 13.1 lists the timing of acceptance and the program counter (PC) value to be saved for each exception event.
Table 13.1
Acceptance Timing and Saved PC Value
Exception Event
Undefined instruction exception
Privileged instruction exception
Floating-point exception
Reset
Non-maskable
During execution of the RMPA,
interrupt
SCMPU, SMOVB, SMOVF,
SMOVU, SSTR, SUNTIL, and
SWHILE instructions
Other than above
Interrupt
During execution of the RMPA,
SCMPU, SMOVB, SMOVF,
SMOVU, SSTR, SUNTIL, and
SWHILE instructions
Other than above
Unconditional trap
13.3.2

Vector and Site for Saving the Values in the PC and PSW

The vector for each type of exception and the site for saving the values of the program counter (PC) and processor status
word (PSW) are listed in Table 13.2 .
Table 13.2
Vector and Site for Saving the Values in the PC and PSW
Exception
Undefined instruction exception
Privileged instruction exception
Floating-point exception
Reset
Non-maskable interrupt
Interrupt
Fast interrupt
Other than above
Unconditional trap
R01UH0822EJ0100 Rev.1.00
Jul 31, 2019
Acceptance
Type of Handling
Timing
Instruction canceling
During instruction
type
execution
Instruction canceling
During instruction
type
execution
Instruction canceling
During instruction
type
execution
Instruction
Any machine cycle
abandonment type
Instruction
During instruction
suspending type
execution
Instruction
At the next break
completion type
between
instructions
Instruction
During instruction
suspending type
execution
Instruction
At the next break
completion type
between
instructions
Instruction
At the next break
completion type
between
instructions
Vector
Fixed vector table
Fixed vector table
Fixed vector table
Fixed vector table
Fixed vector table
FINTV
Relocatable vector table (INTB)
Relocatable vector table (INTB)
13. Exception Handling
Value Saved in BPC or on the Stack
PC value of the instruction that
generated the exception
PC value of the instruction that
generated the exception
PC value of the instruction that
generated the exception
None
PC value of the instruction being
executed
PC value of the next instruction
PC value of the instruction being
executed
PC value of the next instruction
PC value of the next instruction
Site for Saving the Values in the PC and PSW
Stack
Stack
Stack
Nowhere
Stack
BPC and BPSW
Stack
Stack
Page 193 of 1041

Advertisement

Table of Contents
loading

Table of Contents