dsp56000 Freescale Semiconductor, Inc, dsp56000 Datasheet - Page 482

no-image

dsp56000

Manufacturer Part Number
dsp56000
Description
24-bit Digital Signal Processor Family Manual
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Example:
Explanation of Example: Prior to execution, the 16-bit loop counter (LC) register con-
tains the value $0000, and the 24-bit program (P) memory location P:(R5+N5) contains
the value $000116. The execution of the MOVEM P:(R5+N5), LC instruction moves the
16 LS bits of the 24-bit program (P) memory location P:(R5+N5) into the 16-bit LC regis-
ter.
Condition Codes:
For D=SR operand:
S — Set according to bit 7 of the source operand
L — Set according to bit 6 of the source operand
E — Set according to bit 5 of the source operand
U — Set according to bit 4 of the source operand
N — Set according to bit 3 of the source operand
Z — Set according to bit 2 of the source operand
V — Set according to bit 1 of the source operand
C — Set according to bit 0 of the source operand
For D SR operand:
S — Computed according to the definition in A.5 CONDITION CODE COMPUTATION
L — Set if data limiting has occurred during the move
A - 216
MOVEM
P:(R5 + N5)
MOVEM P:(R5+N5), LC
LC
15
LF
:
:
DM
14
Before Execution
13
T
$000116
Freescale Semiconductor, Inc.
$0000
**
12
For More Information On This Product,
MR
INSTRUCTION DESCRIPTIONS
S1
11
INSTRUCTION SET DETAILS
Move Program Memory
S0
10
Go to: www.freescale.com
I1
9
:move P:(R5+N5) into the loop counter (LC)
I0
8
P:(R5 + N5)
S
7
LC
L
6
E
5
After Execution
U
4
CCR
$000116
$0116
N
3
Z
2
MOVEM
V
1
C
0
MOTOROLA

Related parts for dsp56000