5 exception flow, 1 exception flow – Renesas SH7781 User Manual

Page 128

Advertising
background image

5. Exception Handling

Rev.1.00 Jan. 10, 2008 Page 98 of 1658
REJ09B0261-0100

5.5

Exception Flow

5.5.1

Exception Flow

Figure 5.1 shows an outline flowchart of the basic operations in instruction execution and
exception handling. For the sake of clarity, the following description assumes that instructions are
executed sequentially, one by one. Figure 5.1 shows the relative priority order of the different
kinds of exceptions (reset, general exception, and interrupt). Register settings in the event of an
exception are shown only for SSR, SPC, SGR, EXPEVT/INTEVT, SR, and PC. However, other
registers may be set automatically by hardware, depending on the exception. For details, see
section 5.6, Description of Exceptions. Also, see section 5.6.4, Priority Order with Multiple
Exceptions, for exception handling during execution of a delayed branch instruction and a delay
slot instruction, or in the case of instructions in which two data accesses are performed.

Advertising