The first operand is compared with the second operand, 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:
0 ~ Operands are equal
1 ~ First operand is low
2 ~ First operand is high
3 ~ -
Program Exceptions:
Access (fetch, operand 2 of C only)
The first operand is compared with the second operand, 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:
0 ~ Operands are equal
1 ~ First operand is low
2 ~ First operand is high
3 ~ -
Program Exceptions:
Access (fetch, operand 2 of C only)
Programming Note
Relevant Extended Mnemonic Instructions:
Mnemonic Meaning Op Code BH or BHR Branch on A High BC or BCR 2 BL or BLR Branch on A Low BC or BCR 4 BE or BER Branch on A Equal B BC or BCR 8 BNH or BNHR Branch on A Not High BC or BCR 13 BNL or BNLR Branch on A Not Low BC or BCR 11 BNE or BNER Branch on A Not Equal B BC or BCR 7