The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+17 votes
1.2k views

A processor needs software interrupt to

  1. test the interrupt system of the processor
  2. implement co-routines
  3. obtain system services which need execution of privileged instructions
  4. return from subroutine
asked in Operating System by Veteran (59.4k points)
edited by | 1.2k views
0
Software interrupt ex - System Call.

1 Answer

+23 votes
Best answer
ans is C.

A and B are obviously incorrect. In D no need to change mode while returning from any subroutine. therefore software interrupt is not needed for that. But in C to execute any privileged instruction processor needs software interrupt while changing mode.
answered by Loyal (8.3k points)
selected by
+2


Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

34,770 questions
41,731 answers
118,876 comments
41,381 users