Open In App
Related Articles

GATE | GATE-CS-2007 | Question 72

Improve Article
Improve
Save Article
Save
Like Article
Like

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:
(A) 100
(B) 101
(C) 102
(D) 110


Answer: (A)

Explanation: Explanation:

Program stores results from 2000 to 2010.

It stores 110,109,108…..100 at  2010 location.

So at 2010 it stores 100

Because DEC R1 is instruction which decrements register value by 1.

So (A) is correct option.

Quiz of this Question

Level Up Your GATE Prep!
Embark on a transformative journey towards GATE success by choosing Data Science & AI as your second paper choice with our specialized course. If you find yourself lost in the vast landscape of the GATE syllabus, our program is the compass you need.

Last Updated : 19 Nov, 2018
Like Article
Save Article
Previous
Next
Similar Reads