The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+22 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 (52k points)
edited by | 1.9k views
Software interrupt ex - System Call.

1 Answer

+28 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.1k points)
edited by

is think

A processor needs software interrupt to

should be 

A process needs software interrupt to


Related questions

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
49,576 questions
54,190 answers
71,147 users