Multiple choice technology mainframe

How the quotient and remainder get stored in registers after successful execution of Divide instruction of Assembler

  1. The quotient is placed in the 1st-operand odd-register and the remainder in the even-register.

  2. The remainder is placed in the 1st-operand odd-register and the quotient in the even-register.

  3. Both are stored in even register.

  4. Both are stored in odd register

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

In IBM mainframe assembler, the Divide instruction uses an even-odd register pair. After division, the quotient is placed in the odd register and the remainder in the even register of the pair specified by the first operand.