Motorola DSP56000 Manual page 344

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

Advertisement

CMPM
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 a parallel move
E — Set if the signed integer portion of A or B result is in use
U — Set if A or B result is unnormalized
N — Set if bit 55 of A or B result is set
Z— Set if A or B result equals zero
V — Set if overflow has occurred in A or B result
C — Set if a carry (or borrow) occurs from bit 55 of A or B result.
Note:
The definitions of the E and U bits vary according to the scaling mode being used.
Refer to Section A.5 for complete details.
Instruction Format:
CMPM
S1, S2
Opcode:
23
Instruction Fields:
S1,S2 J J J d
B,A
0 0 0 0
A,B
0 0 0 1
X0,A 1 0 0 0
Timing: 2+mv oscillator clock cycles
Memory: 1+mv program words
MOTOROLA
INSTRUCTION DESCRIPTIONS
Compare Magnitude
12
11
10
9
T
**
S1
S0
I1
MR
DATA BUS MOVE FIELD
OPTIONAL EFFECTIVE ADDRESS EXTENSION
S1,S2 J J J d
X0,B 1 0 0 1
Y0,A 1 0 1 0
Y0,B 1 0 1 1
INSTRUCTION SET DETAILS
8
7
6
5
4
I0
S
L
E
U
CCR
8
7
0
J
J
S1,S2 J J J d
X1,A 1 1 0 0
X1,B 1 1 0 1
Y1,A 1 1 1 0
Y1,B 1 1 1 1
CMPM
3
2
1
0
N
Z
V
C
4
3
0
J
d
1
1
1
A - 75

Advertisement

Table of Contents
loading

This manual is also suitable for:

Dsp56k

Table of Contents