HD6417660 RENESAS [Renesas Technology Corp], HD6417660 Datasheet - Page 130

no-image

HD6417660

Manufacturer Part Number
HD6417660
Description
Renesas 32-Bit RISC Microcomputer
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
• Example 2: Repeat loop consisting of three instructions
• Example 3: Repeat loop consisting of two instructions
Rev. 1.00, 02/04, page 92 of 804
RptStart: instr1
RptEnd:
RptStart: instr1
RptEnd:
LDRS RptStart
LDRE RptEnd
LDRC #4
instr0
LDRS RptStart
LDRE RptEnd
LDRC #4
instr0
instr2
instr3
instr2
to the RE register
; Sets repeat start instruction address
; Sets repeat end instruction address
to the RE register
; Sets the number of repetitions (4) to
; [Repeat detection instruction]
; [Repeat start instruction]
;
; [Repeat end instruction]
; Sets repeat start instruction address
; Sets repeat end instruction address
; Sets the number of repetitions (4) to
; [Repeat detection instruction]
; [Repeat start instruction]
; [Repeat end instruction]
to the RS register
the RC[11:0] bits of the SR register
instruction is regarded as a repeat detection
instruction.
At least one instruction is required
from LDRC instruction to [Repeat start
instruction]
An instruction prior to the Repeat
start instruction is regarded as a repeat
detection instruction.
At least one instruction is required
from LDRC instruction to [Repeat start
instruction]
An instruction prior to the Repeat start
to the RS register
the RC[11:0] bits of the SR register

Related parts for HD6417660