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

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
• PC relative addressing instructions
Table 3.8
Note: In table 3.8, the following labels are used.
(g)
The CPU always executes a program with comparing the repeat end register (RE) and the program
counter (PC). If the PC matches the RE while the RC[11:0] bits of the SR register are other than 0,
the repeat control function is initiated.
• If RC ≥ 2, a control is passed to a repeat start instruction after a repeat end instruction has been
• If RC == 1, the RC is decremented to 0 at the completion of the repeat end instruction and a
• If RC == 0, the repeat control function is not initiated even if a repeat detection instruction is
RptDtct
RptDtct1
RptDtct2
RptDtct3
MOV.A @(disp, PC), Rn
MOV.W @(disp, PC), Rn
MOV.L @(disp, PC), Rn
(Including the case when the MOV #imm,Rn is extended to MOV.W @(disp, PC), Rn or
MOV.L @(disp, PC), Rn)
executed. The RC is decremented by 1 at the completion of the repeat end instruction.
In this case, restrictions (1) to (6) are also applied.
control is passed to the subsequent instruction. In this case, restrictions (1) to (6) are also
applied.
executed. The repeat loop is executed once as normal instructions and a control is not be
passed to a repeat start instruction even if a repeat end instruction is executed.
Repeat counter and repeat control
RptDtct:
RptDtct1:
RptDtct2:
RptDtct3:
1
RptDtct + 4
RptDtct1 + 4
PC Value during Repeat Control (When RC[11:0] ≥ 2)
An address of the repeat detection instruction
An address of the instruction one instruction following the repeat start
instruction (In a repeat loop consisting of one to three instructions, RptStart is
a repeat start instruction)
An address of the instruction two instruction following the repeat start
instruction
An address of the instruction three instruction following the repeat start
instruction
2
RptDtct + 4
RptDtct1+ 4
RptDtct1+ 4
Number of Instructions in Repeat Loop
3
RptDtct + 4
RptDtct1 + 4
RptDtct1 + 4
RptDtct1 + 4
Rev. 3.00 Jan. 18, 2008 Page 99 of 1458
Section 3 DSP Operating Unit
≥4
RptDtct +4
RptDtct1 + 4
RS
RS + 2
REJ09B0033-0300

Related parts for HD6417320