dsp56000 Freescale Semiconductor, Inc, dsp56000 Datasheet - Page 515

no-image

dsp56000

Manufacturer Part Number
dsp56000
Description
24-bit Digital Signal Processor Family Manual
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Restrictions: The REP instruction can repeat any single-word instruction except the
REP instruction itself and any instruction that changes program flow. The following
instructions are not allowed to follow an REP instruction:
Immediately after REP
Also, a REP instruction cannot be the last instruction in a DO loop (at LA). The assem-
bler will generate an error if any of the previous instructions are found immediately fol-
lowing an REP instruction.
Example:
MOTOROLA
REP
REP X0
MAC X1,Y1,A
LC
X0
:
:
Before Execution
Freescale Semiconductor, Inc.
X:(R1)+,X1
INSTRUCTION SET DESCRIPTIONS
For More Information On This Product,
$000100
DO
Jcc
JCLR
JMP
JSET
JScc
JSCLR
JSR
$0000
INSTRUCTION SET DETAILS
Repeat Next Instruction
Go to: www.freescale.com
Y:(R4)+,Y1
JSSET
REP
RTI
RTS
STOP
SWI
WAIT
ENDDO
X0
LC
;repeat (X0) times
;X1 Y1+A
After Execution
$000100
$0000
A, update X1,Y1
REP
A - 249

Related parts for dsp56000