Section 4 Exception Handling
Rev. 2.00 Mar 09, 2006 page 140 of 906
REJ09B0292-0200
4.6.3
Instructions in Repeat Loops
If a repeat loop comprises up to three instructions, neither exceptions nor interrupts are accepted.
If a repeat loop contains four or more instructions, neither exceptions nor interrupts are accepted
during the execution cycle of the first instruction or the last three instructions. If a repeat loop
contains four or more instructions, address errors only are accepted during the execution cycle of
the fourth from last instruction. For more information, see the
SH-1/SH-2/SH-DSP Software
Manual
.
A. All interrupts and address errors are accepted.
B. Address errors only are accepted.
C. No interrupts or address errors are accepted.
When RC
≥
1
When RC = 0
All interrupts and address errors are accepted.
(1) One instruction
←
A
←
B
←
C
←
A
instr0
instr1
instr2
Start (End):
(4) Four or more instructions
←
A
←
A or C (on return from instr n)
←
A
:
←
A
←
B
←
C
←
C
←
C
←
A
instr0
instr1
:
:
instr n-3
instr n-2
instr n-1
instr n
instr n+1
Start:
End:
(2) Two instructions
←
A
←
B
←
C
←
C
←
A
instr0
instr1
instr2
instr3
Start:
End:
(3) Three instructions
←
A
←
B
←
C
←
C
←
C
←
A
instr0
instr1
instr2
instr3
instr4
Start:
End:
Figure 4.1 Interrupt Acceptance Restrictions in Repeat Mode
Summary of Contents for SH7616
Page 10: ...Rev 2 00 Mar 09 2006 page x of xxvi ...
Page 132: ...Section 2 CPU Rev 2 00 Mar 09 2006 page 106 of 906 REJ09B0292 0200 ...
Page 568: ...Section 12 16 Bit Free Running Timer FRT Rev 2 00 Mar 09 2006 page 542 of 906 REJ09B0292 0200 ...
Page 582: ...Section 13 Watchdog Timer WDT Rev 2 00 Mar 09 2006 page 556 of 906 REJ09B0292 0200 ...
Page 706: ...Section 16 Serial I O SIO Rev 2 00 Mar 09 2006 page 680 of 906 REJ09B0292 0200 ...
Page 820: ...Section 19 Pin Function Controller PFC Rev 2 00 Mar 09 2006 page 794 of 906 REJ09B0292 0200 ...
Page 932: ...Appendix D Package Dimensions Rev 2 00 Mar 09 2006 page 906 of 906 REJ09B0292 0200 ...
Page 935: ...SH7616 Hardware Manual ...