dsp56000 Freescale Semiconductor, Inc, dsp56000 Datasheet - Page 474

no-image

dsp56000

Manufacturer Part Number
dsp56000
Description
24-bit Digital Signal Processor Family Manual
Manufacturer
Freescale Semiconductor, Inc
Datasheet
A MOVEC instruction which specifies SSH as the source operand or LA, LC, SSH, SSL,
or SP as the destination operand cannot be used immediately before a DO instruc-
tion.
A MOVEC instruction which specifies SSH as the source operand or LA, LC, SR, SSH,
SSL, or SP as the destination operand cannot be used immediately before an
ENDDO instruction.
A MOVEC instruction which specifies SSH as the source operand or SR, SSH, SSL, or
SP as the destination operand cannot be used immediately before an RTI instruction.
A MOVEC instruction which specifies SSH as the source operand or SSH, SSL, or SP
as the destination operand cannot be used immediately before an RTS instruction.
A MOVEC instruction which specified SP as the destination operand cannot be used
immediately before a MOVEC, MOVEM, or MOVEP instruction which specifies SSH or
SSL as the source operand.
A MOVEC SSH, SSH instruction is illegal and cannot be used.
Example:
Explanation of Example: Prior to execution, the 16-bit loop counter (LC) register con-
tains the value $0100, and the 24-bit X0 register contains the value $123456. The execu-
tion of the MOVEC LC,X0 instruction moves the contents of the 16-bit LC register into
the 16 LS bits of the 24-bit X0 register and zeros the 8 MS bits of the X0 register.
A - 208
MOVEC
MOVEC LC,X0
LC
X0
:
:
Before Execution
Freescale Semiconductor, Inc.
$123456
For More Information On This Product,
$0100
INSTRUCTION DESCRIPTIONS
INSTRUCTION SET DETAILS
Go to: www.freescale.com
;move LC into X0
Move Control Register
LC
X0
After Execution
$000100
$0100
MOVEC
MOTOROLA

Related parts for dsp56000