1
GATE CSE 2008
MCQ (Single Correct Answer)
+2
-0.6
Which of the following must be true for the $$RFE$$ (Return From Exception) instruction on a general purpose processor?
$$1.$$ It must be a trap instruction
$$2.$$ It must be a privileged instruction
$$3.$$ An exception cannot be allowed to occur during execution of an $$RFE$$ instruction.

A
$$1$$ only
B
$$2$$ only
C
$$1$$ and $$2$$ only
D
$$1,2$$ and $$3$$ only
2
GATE CSE 2006
MCQ (Single Correct Answer)
+2
-0.6
Consider the following program segment. Here R1, R2 and R3 are the general purpose registers. GATE CSE 2006 Computer Organization - Machine Instructions and Addressing Modes Question 25 English

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.

Assume that the memory is byte addressable and the word size is $$32$$ bits. If an interrupt occurs during the execution of the instruction $$''INC$$ $$R3'',$$ what return address will be pushed on to the stack?

A
$$1005$$
B
$$1020$$
C
$$1024$$
D
$$1040$$
3
GATE CSE 2006
MCQ (Single Correct Answer)
+2
-0.6
Consider the following program segment. Here R1, R2 and R3 are the general purpose registers. GATE CSE 2006 Computer Organization - Machine Instructions and Addressing Modes Question 27 English

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.

Assume that the memory is word addressable. The number of memory references for accessing the data in executing the program completely is

A
$$10$$
B
$$11$$
C
$$20$$
D
$$21$$
4
GATE CSE 2006
MCQ (Single Correct Answer)
+2
-0.6
Consider the following program segment. Here R1, R2 and R3 are the general purpose registers. GATE CSE 2006 Computer Organization - Machine Instructions and Addressing Modes Question 26 English

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.

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$$

GATE CSE Subjects

Browse all chapters by subject

Software Engineering
Web Technologies