|
SH7712 Datasheet, PDF (215/978 Pages) Renesas Technology Corp – Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7700 Series | |||
|
◁ |
Section 4 Exception Handling
Table 4.2 Instruction Positions and Restriction Types
Instruction
Position
SPC*1
Illegal
Instruction*2
Interrupt,
Break*3
CPU Address
Error*4
[A]
[B]
Retained
[C1]
Added
Retained
Instruction/data
[C2]
Illegal
Added
Retained
Instruction/data
Notes: 1. A specific address is specified in the SPC if an exception occurs while SR.RC[11:0] â¥2.
2. There are a greater number of instructions that can be illegal instructions while
SR.RC[11:0] â¥1.
3. An interrupt, break or DMA address error request is retained while SR.RC[11:0] â¥1.
4. A specific exception code is specified while SR.RC[11:0] â¥1.
⢠Example 1: Repeat loop consisting of four or greater instructions
LDRS RptStart ; [A]
LDRS RptDtct + 4
; [A]
SETRC #4
; [A]
instr0
; [A]
RptStart: instr1
; [A][Repeat start instruction]
â¦â¦â¦
; [A]
â¦â¦â¦
; [A]
RptDtct: RptDtct
; [B] A repeat detection
instruction is an
instruction three
instructions before a
repeat end instruction
RptDtct1
; [C1]
RptDtct2
; [C2]
RptEnd: RptDtct3
; [C2][Repeat end instruction]
InstrNext
; [A]
Rev. 1.00 Dec. 27, 2005 Page 173 of 932
REJ09B0269-0100
|
▷ |