GATE | GATE-CS-2001 | Question 13
A CPU has two modes-privileged and non-privileged. In order to change the mode from privileged to non-privileged
(A) a hardware interrupt is needed
(B) a software interrupt is needed
(C) a privileged instruction (which does not generate an interrupt) is needed
(D) a non-privileged instruction (which does not generate an interrupt is needed
Answer: (D)
Explanation: For switching between privileged to non-privileged area, non-privileged instruction is used, without interrupt.
Software interrupts are usually used to invoke system calls.
Option (D) is correct.
Quiz of this Question
Last Updated :
23 Dec, 2020
Like Article
Save Article
Share your thoughts in the comments
Please Login to comment...