Switching between a supervisor mode and a user mode for a processor is usually…
2018
Switching between a supervisor mode and a user mode for a processor is usually done by a
- A.
subroutine call
- B.
branch instruction
- C.
software interrupt
- D.
None of the above
Attempted by 238 students.
Show answer & explanation
Correct answer: C
Switching between supervisor and user modes requires a mechanism that enforces privilege boundaries to prevent unauthorized access. A software interrupt or trap is the standard hardware mechanism designed specifically to transition control from user space to kernel space safely.