HD6417641 RENESAS [Renesas Technology Corp], HD6417641 Datasheet - Page 261

no-image

HD6417641

Manufacturer Part Number
HD6417641
Description
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet
• Example 1: Repeat loop consisting of four instructions
• Example 2: Repeat loop consisting of three instructions
RptStart: instr1
RptDtct:
RptEnd:
LDRS
LDRS
RptDtct: RptDtct
RptStart: RptDtct1
RptEnd:
RptDtct + 4
RptDtct + 4
SETRCT #4
RptDtct2
RptDtct3
InstrNext
LDRS RptStart
LDRS RptDtct + 4 ; [A]
SETRCT #4
instr0
………
………
RptDtct
RptDtct1
RptDtct2
RptDtct3
InstrNext
; [A]
; [A]
; [A]
; [B] A repeat detection instruction is an
; [C1][Repeat start instruction]
; [C2]
; [C2][Repeat end instruction]
; [A]
; [A]
; [A]
; [A]
; [A]
; [A]
; [A]
; [B] A repeat detection instruction is an
; [C1]
; [C2]
; [C2][Repeat end instruction]
; [A]
instruction prior to a repeat start
instruction
instruction three instructions before
a repeat end instruction
Rev. 4.00 Sep. 14, 2005 Page 211 of 982
Section 9 Exception Handling
REJ09B0023-0400

Related parts for HD6417641