Motorola DSP56000 Manual page 465

24-bit digital signal processor
Hide thumbs Also See for DSP56000:
Table of Contents

Advertisement

L:
Example:
:
CMP Y0,B
:
Before Execution
A
$01:234567:89ABCD
X:$1234
Y:$1234
Explanation of Example: Prior to execution, the 56-bit A accumulator contains the
value $01:234567:89ABCD, the 24-bit X memory location X:$1234 contains the value
$000000, and the 24-bit Y memory location Y:$1234 contains the value $000000. The
execution of the parallel move portion of the instruction, A,L:$1234, moves the 48-bit lim-
ited positive saturation constant $7FFFFF:FFFFFF into the specified long memory loca-
tion by moving the MS 24 bits of the 48-bit limited positive saturation constant ($7FFFFF)
into the 24-bit X memory location X:$1234 and by moving the LS 24 bits of the 48-bit lim-
ited positive saturation constant ($FFFFFF) into the 24-bit Y memory location Y:$1234
since the signed integer portion of the A accumulator was in use.
Condition Codes:
15
14
13
LF
DM
S — Computed according to the definition in A.5 CONDITION CODE COMPUTATION
L — Set if data limiting has occurred during parallel move.
Note: The MOVE A,L:ea operation will result in a 48-bit positive or negative saturation
constant being stored in the specified 24-bit X and Y memory locations if the signed inte-
ger portion of the A accumulator is in use. The MOVE AB,L:ea operation will result in
either one or two 24-bit positive and/or negative saturation constant(s) being stored in the
specified 24-bit X and/or Y memory location(s) if the signed integer portion of the A and/
or B accumulator(s) is in use.
MOTOROLA
INSTRUCTION DESCRIPTIONS
Long Memory Data Move
A,L:$1234
$000000
$:000000
12
11
10
9
T
**
S1
S0
I1
MR
INSTRUCTION SET DETAILS
;compare Y0 and B, save 48-bit A1:A0 value
After Execution
A
$01:234567:89ABCD
X:$1234
$7FFFFF
Y:$1234
$FFFFFF
8
7
6
5
4
I0
S
L
E
U
CCR
3
2
1
0
N
Z
V
C
A - 199
L:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dsp56k

Table of Contents