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

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
RptDtct:
RptStart: instr1
RptEnd:
RptDtct:
RptStart: instr1
RptEnd:
LDRS RptStart +4
LDRE RptStart +4
SETRC #4
instr0
Instr2
instr3
LDRS RptStart +6
LDRE RptStart +4
SETRC #4
instr0
instr2
execution, the repeat loop is regarded
; Sets (repeat detection instruction
; Sets (repeat detection instruction
address + 4) to the RE register
; Sets the number of repetitions (4) to
; If RE-RS==0 during SETRC instruction
; [Repeat start instruction]
; [Repeat start instruction]
;
; [Repeat end instruction]
; Sets the number of repetitions (4) to
; If RE-RS==-2 during SETRC instruction
; [Repeat start instruction]
; [Repeat start instruction]
; [Repeat end instruction]
address + 4) to the RS register
execution, the repeat loop is regarded
start instruction is regarded as a
repeat detection instruction.
start instruction is regarded as a
repeat detection instruction.
the RC[11:0] bits of the SR register
as three-instruction repeat.
An instruction prior to the Repeat
At least one instruction is required
from LDRC instruction to [Repeat start
instruction]
address + 6) to the RS register
address + 4) to the RE register
the RC[11:0] bits of the SR register
as two-instruction repeat.
An instruction prior to the Repeat
At least one instruction is required
from LDRC instruction to [Repeat start
instruction]
; Sets (repeat detection instruction
; Sets (repeat detection instruction
Rev. 1.00, 02/04, page 83 of 804

Related parts for HD6417660