Consider the following program segment. Here R1, R2 and R3 are the general…

PYQ GATE 2007

Consider the following program segment. Here R1, R2 and R3 are the general purpose registers.

image.png

Assume that the content of memory location 3000 is 10 and the content of the register R3 is 2000. The content of each of the memory locations from 2000 to 2010 is 100. The program is loaded from the memory location 1000. All the numbers are in decimal.

Consider the data given in above question. Assume that the memory is word addressable. After the execution of this program, the content of memory location 2010 is:

  1. A.

    100

  2. B.

    101

  3. C.

    102

  4. D.

    110

Attempted by 46 students.

Sign up free to check your answer

Sign up free

Explore the full course: Gate Guidance By Sanchit Sir

Loading lesson…