RX610 Group
9. Exceptions
R01UH0032EJ0120 Rev.1.20
Page 210 of 1006
Feb 20, 2013
9.5
Hardware Pre-Processing
The sequences of hardware pre-processing from reception of each exception request to execution of the associated
exception handling routine are explained below.
9.5.1
Undefined Instruction Exception
1.
The value of the processor status word (PSW) is saved on the stack (ISP).
2.
The processor mode select bit (PM), the stack pointer select bit (U), and the interrupt enable bit (I) in the PSW are
cleared to 0.
3.
The value of the program counter (PC) is saved on the stack (ISP).
4.
The address of the processing routine is fetched from the vector address, FFFFFFDCh.
5.
The PC is set to the fetched address and processing branches to the start of the exception handling routine.
9.5.2
Privileged Instruction Exception
1.
The value in the processor status word (PSW) is saved on the stack (ISP).
2.
The processor mode select bit (PM), the stack pointer select bit (U), and the interrupt enable bit (I) in the PSW are
cleared to 0.
3.
The value of the program counter (PC) is saved on the stack (ISP).
4.
The address of the processing routine is fetched from the vector address, FFFFFFD0h.
5.
The PC is set to the fetched address and processing branches to the start of the exception handling routine.
9.5.3
Floating-Point Exceptions
1.
The value in the processor status word (PSW) is saved on the stack (ISP).
2.
The processor mode select bit (PM), the stack pointer select bit (U), and the interrupt enable bit (I) in the PSW are
cleared to 0.
3.
The value of the program counter (PC) is saved on the stack (ISP).
4.
The address of the processing routine is fetched from the vector address, FFFFFFE4h.
5.
The PC is set to the fetched address and processing branches to the start of the exception handling routine.
9.5.4
Reset
1.
The control registers are initialized.
2.
The address of the processing routine is fetched from the vector address, FFFFFFFCh.
3.
The PC is set to the fetched address.
Summary of Contents for RX600 Series
Page 1006: ...RX610 Group R01UH0032EJ0120 ...