Question 5419 – UGC NET CS 2011 Dec-Paper-2
December 4, 2023Question 8170 – Machine-Instructions
December 4, 2023Question 9173 – Machine-Instructions
Which of the following must be true for the RFE (Return From Exception) instruction on a general purpose processor?
- I. It must be a trap instruction
II. It must be a privileged instruction
III. An exception cannot be allowed to occur during execution of an RFE instruction
Correct Answer: D
Question 19 Explanation:
RFE is a privileged instruction that is performed explicitly by the Operating System to switch from kernel mode to user mode at the end of handling an exception. Hence it has to be a trap. We know when a trap/interrupt is in execution, till its completion all other trap/interrupts will not be allowed to execute. So option D is correct answer.
I only
II only
I and II only
I, II and III only
Subscribe
Login
0 Comments