Xerox 560 Reference Manual page 74

Hide thumbs Also See for 560:
Table of Contents

Advertisement

2
3
4
Result of Comparison
- 0
No I-bits compare, (R) n EHSE
=
O.
CW
One or more I-bits compare,
(R) n EHSE
-I
O.
COMPARE WORD
(Word index alignment)
COMPARE WORD compares the contents of register R with
the effective word, with both words treated as signed fixed-
point quantities, and sets the condition code according to
the results of the comparison.
Affected: CC2, CC3, CC4
(R) :
EW
Condition code settings:
2
3
4
Result of Comparison
-
0 0
Equal.
-
0
Register word less than effective word.
o
Register word greater than effective word.
-
0
No I-bits compare, (R) n EW
=
O.
One or more I-bits compare, (R) n EW
-10.
CD
COMPARE DOUBLEWORD
COMPARE DOUBLEWORD compares the effective double-
word with the contents of registers Rand Rul (with both
doublewords treated as signed, fixed-point quantities)
and sets the condition code according to the results of the
comparison.
If
the R field of CD is an odd value, CD forms
a 64-bit register operand (by duplicating the contents of
register R for both the 32 high-order bits and the 32 low-
order bits) and compares the effective doubleword with the
64-bit register operand.
The condition code settings are
based on the 64-bit comparison.
Affected: CC3, CC4
(R, Run: ED
68
Comparison Instructions
Condition code settings:
2
3
4
Result of Comparison
-
0
0
Equal.
-
0
Register doubleword less than effective
doub
I
eword.
o
Register doubleword greater than effective
doubleword.
CS
COMPARE SELECTIVE
COMPARE SE LECTIVE compares the contents of register R
with the effective word in only those bit positions selected
by a I in corresponding bit positions of register Ru I (mask).
The contents of register R and the effective word are ignored
in those bit positions designated by a
0
in corresponding bit
positions of register Rul. The selected contents of register R
and the effective word are treated as positive integer mag-
nitudes, and the condition code is set according to the re-
sult of the comparison.
If
the R fieldof CS is an odd value;
CS compares the contents of register R with the logical
product (AND) of the effective word and the contents of
register R.
Affected: CC3, CC4
If
R is even: (R) n (Rul) : EW n (Rul)
If
R is odd: (R): EW n (R)
Condi ti on code setti ngs:
2
3
4
Resu
I
ts of Compari son under Mask in Ru
1
-
0 0
Equal.
- - 0
Register word less than effective word.
o
Register word greater than effective word.
(if R is even).
CLR
COMPARE WITH LIMITS IN REGISTERS
(Word index alignment)
COMPARE WITH LIMITS IN REGISTERS simultaneously
compares the effective word with the contents of register R
and with the contents of register Rui (with aii three words
treated as signed fixed-point quantities), and sets the con-
dition code according to the results of the comparisons.
Affected: CC
(R) : EW, (Rul) :
EW

Advertisement

Table of Contents
loading

Table of Contents