HD6417320 RENESAS [Renesas Technology Corp], HD6417320 Datasheet - Page 302

no-image

HD6417320

Manufacturer Part Number
HD6417320
Description
Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7700 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Section 7 Exception Handling
Table 7.5
Note: The following labels are used here.
(5)
If an MMU exception occurs in the repeat control period, a specific exception code is generated as
well as a CPU address error. For a TLB miss exception, TLB invalid exception, and initial page
write exception, an exception code (H'070) indicating the repeat loop period is specified in the
EXPEVT. For a TLB protection exception, an exception code (H'0D0) is specified in the
EXPEVT. In a TLB miss exception, vector offset is specified as H'00000100.
An instruction where an exception occurs and the SPC value to be saved are the same as those for
the CPU address error.
After this exception processing, the repeat control cannot be returned correctly. To execute a
repeat loop correctly, care must be taken not to generate an MMU related exception in the repeat
control period.
Note: In a repeat loop consisting of one to three instructions, some restrictions apply to repeat
Rev. 3.00 Jan. 18, 2008 Page 240 of 1458
REJ09B0033-0300
Instruction Where an
Exception Occurs
RptDtct
RptDtct1
RptDtct2
RptDtct3
MMU Exception in Repeat Control Period
RptDtct:
RptDtct1: Instruction address immediately after the repeat detect instruction
RptDtct2: Second instruction address from the repeat detect instruction
RptDtct3: Third instruction address from the repeat detect instruction
detection instructions and all the remaining instructions. In a repeat loop consisting of four
or more instructions, restrictions apply to only the three instructions that include a repeat
end instruction. The restriction occurs when SR.RC[11:0] ≥ 1.
Exception Occurs in Repeat Control (SR.RC[11:0]≥1)
Instruction Where a Specific Exception Occurs When a Memory Access
Repeat detection instruction address
1
Instruction/data
access
Number of Instructions in a Repeat Loop
2
Instruction/data
access
Instruction/data
access
3
Instruction/data
access
Instruction/data
access
Instruction/data
access
Instruction/data
access
Instruction/data
access
Instruction/data
access
4 or Greater

Related parts for HD6417320