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

1 Answer

+20 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 Boss (8.5k 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

32,693 questions
39,293 answers
110,107 comments
36,701 users