The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+19 votes

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.5k points)
edited by | 1.3k views
Software interrupt ex - System Call.

1 Answer

+25 votes
Best answer

Answer 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.2k points)
edited by

is think

A processor needs software interrupt to

should be 

A process needs software interrupt to

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

37,111 questions
44,694 answers
43,753 users