CMP
Condition Codes:
15
14
13
LF
DM
S — Computed according to the definition in A.5 CONDITION CODE COMPUTATION
L — Set if limiting (parallel move) or overflow has occurred in result
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:
CMP
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
X0,B
1 0 0 1
Y0,A
1 0 1 0
Timing: 2+mv oscillator clock cycles
Memory: 1+mv program words
MOTOROLA
INSTRUCTION DESCRIPTIONS
Compare
12
11
10
9
T
**
S1
S0
I1
MR
DATA BUS MOVE FIELD
OPTIONAL EFFECTIVE ADDRESS EXTENSION
S1,S2
J J J d
Y0,B
1 0 1 1
X1,A
1 1 0 0
X1,B
1 1 0 1
Y1,A
1 1 1 0
Y1,B
1 1 1 1
INSTRUCTION SET DETAILS
8
7
6
5
4
3
I0
S
L
E
U
CCR
8
7
0
J
J
CMP
2
1
0
N
Z
V
C
4
3
0
J
d
1
0
1
A - 73