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

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
• Example 2: Repeat loop consisting of three instructions
• Example 3: Repeat loop consisting of two instructions
RptDtct:
RptStart: instr1
RptEnd:
RptDtct:
RptStart: instr1
RptEnd:
LDRS RptDtct +4
LDRE RptDtct +4
SETRC #4
instr0
Instr2
instr3
LDRS RptDtct +6; Sets (repeat detection instruction
LDRE RptDtct +4
SETRC #4
instr0
instr2
; Sets (repeat detection instruction
; Sets (repeat detection instruction
; Sets the number of repetitions (4) to
; If RE-RS==0 during SETRC instruction
; An instruction prior to the Repeat
; [Repeat start instruction]
;
; [Repeat end instruction]
; Sets the number of repetitions (4) to
; If RE-RS==-2 during SETRC instruction
; An instruction prior to the Repeat
; [Repeat start instruction]
; [Repeat end instruction]
execution, the repeat loop is regarded
address + 4) to the RS register
address + 4) to the RE register
the RC[11:0] bits of the SR register
execution, the repeat loop is regarded
as three-instruction repeat.
start instruction is regarded as a
repeat detection instruction.
address + 6) to the RS register
the RC[11:0] bits of the SR register
as two-instruction repeat.
start instruction is regarded as a
repeat detection instruction.
; Sets (repeat detection instruction
address + 4) to the RE register
Rev. 3.00 Jan. 18, 2008 Page 91 of 1458
Section 3 DSP Operating Unit
REJ09B0033-0300

Related parts for HD6417320