The first operand is compared with the second operand, and the result determines the setting of the condition code. The second operand is two bytes in length and is considered to be a 16-bit signed integer.
The second operand is expanded to 32 bits 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:
0 ~ Operands are equal
1 ~ First operand is low
2 ~ First operand is high
3 ~ -
Access (fetch, operand 2)
See Extended Mnemonic Instructions on page