The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
+17 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.4k points)
edited by | 1.2k views
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

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
41,381 users