edited by
8,687 views
30 votes
30 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
edited by

1 Answer

Best answer
44 votes
44 votes

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.

edited by
Answer:

Related questions

25 votes
25 votes
2 answers
1
Kathleen asked Sep 14, 2014
10,417 views
Which of the following requires a device driver?RegisterCacheMain memoryDisk
37 votes
37 votes
3 answers
2
Kathleen asked Sep 14, 2014
12,501 views
Where does the swap space reside?RAMDiskROMOn-chip cache
59 votes
59 votes
4 answers
3
Kathleen asked Sep 14, 2014
24,152 views
Which of the following does not interrupt a running process?A deviceTimerScheduler processPower failure
36 votes
36 votes
2 answers
4
Kathleen asked Sep 14, 2014
12,518 views
The process of assigning load addresses to the various parts of the program and adjusting the code and the data in the program to reflect the assigned addresses is called...