Multiple choice technology mainframe

Which of the following is true for Compare instruction in assembler?

  1. The data of the 1st-operand register is compared with the data of the 2nd-operand field. The result of the comparison is indicated in the condition code which may be checked further.

  2. The data of the 1st-operand register is compared with the data of the 2nd-operand field. The result of the comparison is indicated in the condition code which will not be checked further.

  3. The data of the 1st-operand register is compared with the data of the 2nd-operand field. Condition codes are not at all checked.

  4. None of the above.

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

In IBM/360 Assembler, a Compare instruction compares the first operand with the second operand, setting the condition code to reflect whether the values are equal, lower, or higher, which can then be tested by conditional branch instructions.