dsp56000 Freescale Semiconductor, Inc, dsp56000 Datasheet - Page 469

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 24-bit X1 register contains the value
$123123, the 24-bit Y0 register contains the value $456456, the 16-bit R0 address regis-
ter contains the value $1000, the 16-bit R4 address register contains the value $0100,
the 16-bit N4 address offset register contains the value $0023, the 24-bit X memory loca-
tion X:$1000 contains the value $000000, and the 24-bit Y memory location Y:$0100
contains the value $000000. The execution of the parallel move portion of the instruction,
X1,X:(R0)+ Y0,Y:(R4)+N4, moves the 24-bit value in the X1 register into the 24-bit X
memory location X:$1000 using the 16-bit R0 address register, moves the 24-bit value in
the Y0 register into the 24-bit Y memory location Y:$0100 using the 16-bit R4 address
register, updates the 16-bit value in the R0 address register, and updates the 16-bit R4
address register using the 16-bit N4 address offset register. The contents of the N4
address offset register are not affected.
Condition Codes:
S — Computed according to the definition in A.5 CONDITION CODE COMPUTATION
L — Set if data limiting has occurred during parallel move.
MOTOROLA
X: Y:
MPYR X1,Y0,A
X:$1000
Y:$0100
R0
R4
N4
X1
Y0
15
LF
:
:
DM
14
13
T
Before Execution
$456456
$000000
$123123
$000000
Freescale Semiconductor, Inc.
$1000
$0100
X1,X:(R0)+
**
$0023
12
For More Information On This Product,
MR
INSTRUCTION DESCRIPTIONS
S1
11
INSTRUCTION SET DETAILS
XY Memory Data Move
S0
10
Go to: www.freescale.com
I1
9
Y0,Y:(R4)+N4
I0
8
X:$1000
Y:$0100
S
7
X1
Y0
R0
R4
N4
L
6
E
5
;X1 Y0
U
4
After Execution
CCR
$123123
$456456
$456456
$123123
$0023
$1001
N
$0123
3
Z
2
A,save X1 and Y0
V
1
C
0
X: Y:
A - 203

Related parts for dsp56000