HD6417320 RENESAS [Renesas Technology Corp], HD6417320 Datasheet - Page 154
HD6417320
Manufacturer Part Number
HD6417320
Description
Renesas 32-Bit RISC Microcomputer SuperHTM RISC engine Family / SH7700 Series
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
1.HD6417320.pdf
(1524 pages)
- Current page: 154 of 1524
- Download datasheet (10Mb)
Section 3 DSP Operating Unit
• Example 4: Repeat loop consisting of one instruction
In repeat loops consisting of three instructions, two instructions and one instruction, specific
addresses are specified in the RS register. RE – RS is calculated during SETRC instruction
execution, and the number of instructions included in the repeat loop is determined according to
the result. A value of 0, –2,and –4 in the result correspond to three instructions, two instructions,
and one instruction, respectively.
If repeat instruction execution is completed without branching and if RC[11:0] > 0, an instruction
following the repeat detection instruction is regarded as a repeat start instruction and instruction
execution is repeated for the number of times corresponding to the recognized number of
instructions. If RC[11:0] ≥ 2 when the repeat end instruction is completed, the RC[11:0] is
decremented by 1 and then control is passed to the address specified by the RS register. If
RC[11:0] ==1 (or 0) when the repeat end instruction is completed, the RC[11:0] is cleared to 0 and
then the control is passed to the next instruction following the repeat end instruction.
Note: If RE – RS is a positive value, the CPU regards the repeat loop as a four-instruction repeat
Rev. 3.00 Jan. 18, 2008 Page 92 of 1458
REJ09B0033-0300
RptDtct:
RptStart:
RptEnd:
loop. (In a repeat loop consisting of four or more instructions, RE – RS is always a
positive value. For details, refer to example 1 above.) If RE – RS is positive, or a value
other than 0, –2,and –4, correct operation cannot be guaranteed.
LDRS RptDtct +8; Sets (repeat detection instruction
LDRE RptDtct +4
SETRC #4
instr0
instr1
; Sets the number of repetitions (4) to
; If RE-RS==-4 during SETRC instruction
; An instruction prior to the Repeat
; [Repeat start instruction]==[Repeat end
execution, the repeat loop is regarded
address + 8) to the RS register
the RC[11:0] bits of the SR register
as one-instruction repeat.
start instruction is regarded as a
repeat detection instruction.
instruction]
; Sets (repeat detection instruction
address + 4) to the RE register
Related parts for HD6417320
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Renesas Technology Corp [Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series]
Manufacturer:
Renesas Electronics Corporation.
Datasheet:
Part Number:
Description:
Renesas 32-Bit RISC Microcomputer Super RISC engine Family/SH7700 Series
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
Part Number:
Description:
Renesas 16-Bit Single-Chip Microcomputer Renesas H8S Family/H8S/2100 Series
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
Part Number:
Description:
Renesas MCU
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
Part Number:
Description:
RENESAS MCU
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
Part Number:
Description:
RENESAS MCU
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
Part Number:
Description:
RENESAS MCU
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
Part Number:
Description:
Renesas 16-Bit Single-Chip Microcomputer H8S Family / H8S/2200 Series
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
Part Number:
Description:
Renesas 16-Bit Single-Chip Microcomputer H8S Family H8S-2300 Series
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
Part Number:
Description:
Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2300 Series
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
Part Number:
Description:
Renesas 16-Bit Single-Chip Microcomputer H8S Family/H8S/2300 Series
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
Part Number:
Description:
Renesas 16-Bit Single-Chip Microcomputer H8 Family/H8/300H Series
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
Part Number:
Description:
Renesas 32-Bit Single-Chip RISC Microprocessor SuperH RISC engine Family/SH7040 Series(CPU Core SH-2)
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
Part Number:
Description:
Renesas 32-Bit RISC Microcomputer SuperH RISC engine Family / SH7641 Series
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet:
Part Number:
Description:
Renesas 32-Bit RISC Microcomputer
Manufacturer:
RENESAS [Renesas Technology Corp]
Datasheet: