Resulting  Condition  Code:  
o
1 Difference is not zero (no carry)
2 Difference is zero (carry)
3 Difference is not zero (carry)Program   Interruptions:  
Addressing (SL only)
Specification (SL only)
Programming Note
A zero difference cannot be obtained without a carry
out of the sign position.Compare   CR  RR  I   19  R,  R2  0   7  8  11  12  15  
C
RXI   59  R,  X  
2
B20   7  8  11  12  1516  1920  31  
The first operand is compared with the second op
erand, and the result determines the setting of the
condition code.
Comparison is algebraic, treating both comparands
as 32-bit signed integers.Operands   in  registers  or  
storage are not changed.
Resulting Condition Code:
oOperands   are  equal  
1 First operand is low
2 First operand is high
3Program   Interruptions:  
Addressing(C   only)  
Specification(C   only)  Compare   Halfword   CH  RX  
49
7 8 11 12 15 16 1920 31
The first operand is compared with the halfword sec-'   ond  operand,  and  the  result  determines  the  setting  of  
the condition code.
The halfword second operand is expanded to a full
word before the comparison by propagating the sign
bit value through the 16 high-order bit positions.
Comparison is algebraic, treating both comparands
as 32-bit signed integers.Operands   in  registers  or  
storage are not changed.
Resulting Condition Code:
oOperands   are  equal  
1 First operand is low
2 First operand is high
3Program   Interruptions:  
Addressing
SpecificationMultiply   MR  RR  
1C
78 1112 15M   RX  
5C
7 8 11 1 2 15 1 6 1 920   J  
31
The product of the multiplier (the second operand)
and the multiplicand (the first operand) replaces the
multiplicand.
Both multiplier and multiplicand are 32-bit signed
integers. The product is always a 64-bit signed integer
and occupies an even/odd register pair. Because the
multiplicand is replaced by the product, the Rl field
of the instruction must refer to an even-numbered reg
ister. A specification exception occurs when Rl is odd.
The multiplicand is taken from the odd register of the
pair. The content of the even-numbered register re
placed by the product is ignored, unless the register
contains the multiplier. An overflow cannot occur.
The sign of the product is determined by the rules
of algebra from the multiplier and multiplicand sign,
except that a zero result is always positive.
Condition Code: The code remains unchanged.Program   Interruptions:  
Addressing (M only)
Specification
Programming Note
The significant part of the product usually occupics 62
bits or fewer.Only   when  two  maximum  negative  
numbers are multiplied are 63 significant product bits
formed.Since   two's-complement  notation  is  used,  the  
sign bit is extended right until the first significant
product digit is encountered.
Fixed-Point Arithmetic 29
o
1 Difference is not zero (no carry)
2 Difference is zero (carry)
3 Difference is not zero (carry)
Addressing (SL only)
Specification (SL only)
Programming Note
A zero difference cannot be obtained without a carry
out of the sign position.
C
RX
2
B2
The first operand is compared with the second op
erand, and the result determines the setting of the
condition code.
Comparison is algebraic, treating both comparands
as 32-bit signed integers.
storage are not changed.
Resulting Condition Code:
o
1 First operand is low
2 First operand is high
3
Addressing
Specification
49
7 8 11 12 15 16 1920 31
The first operand is compared with the halfword sec-
the condition code.
The halfword second operand is expanded to a full
word before the comparison by propagating the sign
bit value through the 16 high-order bit positions.
Comparison is algebraic, treating both comparands
as 32-bit signed integers.
storage are not changed.
Resulting Condition Code:
o
1 First operand is low
2 First operand is high
3
Addressing
Specification
1C
78 1112 15
5C
7 8 11 1 2 15 1 6 1 9
31
The product of the multiplier (the second operand)
and the multiplicand (the first operand) replaces the
multiplicand.
Both multiplier and multiplicand are 32-bit signed
integers. The product is always a 64-bit signed integer
and occupies an even/odd register pair. Because the
multiplicand is replaced by the product, the Rl field
of the instruction must refer to an even-numbered reg
ister. A specification exception occurs when Rl is odd.
The multiplicand is taken from the odd register of the
pair. The content of the even-numbered register re
placed by the product is ignored, unless the register
contains the multiplier. An overflow cannot occur.
The sign of the product is determined by the rules
of algebra from the multiplier and multiplicand sign,
except that a zero result is always positive.
Condition Code: The code remains unchanged.
Addressing (M only)
Specification
Programming Note
The significant part of the product usually occupics 62
bits or fewer.
numbers are multiplied are 63 significant product bits
formed.
sign bit is extended right until the first significant
product digit is encountered.
Fixed-Point Arithmetic 29
 
             
            






































































































































































