Question 36Asked in DSSSB TGT Computer Science (Technical), 7 Aug 2021, Shift 2

What is the meaning of this arithmetic micro-operation? R3 ← R1 + R2' + 1 (R2' is the complement of R2)

  1. AContent of R1 plus R2 transferred to R3
  2. BContent of R1 plus the 2's complement of R2 transferred to R3
  3. CContent of R1 plus the 1's complement of R2 transferred to R3
  4. DContent of R1 plus R2 after increments transferred to R3
Show answerHide answer

Correct answer: (B) Content of R1 plus the 2's complement of R2 transferred to R3

Explanation

R2' + 1 is the 2's complement of R2, so R1 + R2' + 1 adds R1 to the 2's complement of R2, which is R1 − R2, and stores it in R3.

From DSSSB TGT Computer Science PYQ (Technical), 7 Aug 2021, Shift 2

This is question 36 of DSSSB TGT Computer Science PYQ (Technical), 7 Aug 2021, Shift 2. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.