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

no-image

HD6417641

Manufacturer Part Number
HD6417641
Description
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
Section 9 Exception Handling
9.4
When the DSP extension function is valid (the DSP bit of SR is set to 1), some exception
processing acceptance conditions or exception processing may be changed.
9.4.1
In the DSP mode, a DSP extension instruction can be executed. If a DSP extension instruction is
executed when the DSP bit of SR is cleared to 0 (in a mode other than the DSP mode), an illegal
instruction exception occurs.
9.4.2
If an exception is requested or an exception is accepted during repeat control, the exception may
not be accepted correctly or a program execution may not be returned correctly from exception
processing that is different from the normal state. These restrictions may occur from repeat
detection instruction to repeat end instruction while the repeat counter is 1 or more. In this section,
this period is called the repeat control period.
The following shows program examples where the number of instructions in the repeat loop are 4
or more, 3, 2, and 1, respectively. In this section, a repeat detection instruction and its instruction
address are described as RPTDTCT. The first, second, and third instructions following the repeat
detection instruction are described as RptDtct1, RptDtct2, and RptDtct2. In addition, [A], [B],
[C1], and [C2] in the following examples indicate instructions where a restriction occurs.
Table 9.3 summarizes the instruction positions and restriction types.
Table 9.3
Notes: 1. A specific address is specified in the SPC if an exception occurs while SR.RC[11:0] ≥2.
Rev. 4.00 Sep. 14, 2005 Page 210 of 982
REJ09B0023-0400
Instruction
Position
[A]
[B]
[C1]
[C2]
2. There are a greater number of instructions that can be illegal instructions while
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.
Exception Processing While DSP Extension Function is Valid
Illegal Instruction Exception and Slot Illegal Instruction Exception
Exception in Repeat Control Period
SR.RC[11:0] ≥1.
Instruction Positions and Restriction Types
SPC*
Illegal
1
Illegal
Instruction*
Added
Added
2
Interrupt,
Break*
Retained
Retained
Retained
3
CPU Address
Error*
Instruction/data
Instruction/data
4

Related parts for HD6417641