HD6417641 RENESAS [Renesas Technology Corp], HD6417641 Datasheet - Page 265

no-image

HD6417641

Manufacturer Part Number
HD6417641
Description
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
CPU Address Error in Repeat Control Period: If a CPU address error occurs in the repeat
control period, the exception is accepted but an exception code (H'070) indicating the repeat loop
period is specified in the EXPEVT. If a CPU address error occurs in instructions following a
repeat detection instruction to repeat end instruction, an exception code for instruction access or
data access is specified in the EXPEVT.
The SPC is saved according to the SPC Saved by an Exception in Repeat Control Period
description in section 9.4.2, Exception in Repeat Control Period.
After the CPU address error exception processing, the repeat control cannot be returned correctly.
To execute a repeat loop correctly, care must be taken not to generate a CPU address error in the
repeat control period.
Note: In a repeat loop consisting of one to three instructions, some restrictions apply to repeat
Table 9.6
Note: The following labels are used here.
Instruction Where an
Exception Occurs
RptDtct
RptDtct1
RptDtct2
RptDtct3
RptDtct:
RptDtct1: An instruction address one instruction following the repeat detection instruction
RptDtct2: An instruction address two instruction following the repeat detection instruction
RptDtct3: An instruction address three instruction following the repeat detection 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.
Instruction Where a Specific Exception Occurs When a Memory Access
Exception Occurs in Repeat Control
Repeat detection instruction address
1
Instruction/data
access
Number of Instructions in a Repeat Loop
2
Instruction/data
access
Instruction/data
access
Rev. 4.00 Sep. 14, 2005 Page 215 of 982
3
Instruction/data
access
Instruction/data
access
Instruction/data
access
Section 9 Exception Handling
4 or Greater
Instruction/data
access
Instruction/data
access
Instruction/data
access
REJ09B0023-0400

Related parts for HD6417641