Which of the subsequent instructions should be privileged, Operating System

Q. Which of the subsequent instructions should be privileged?

a) Read the clock

b) Clear memory

c) Set value of timer

d) Issue a trap instruction

e) Turn off interrupts

f) Modify entries in device-status table

g) Switch from user to kernel mode

h) Access I/O device

Answer: The following operations require to be privileged: clear memory, Set value of timer, turn off interrupts and modify entries in device-status table and access I/O device. The rest are able to be performed in user mode.

Posted Date: 7/27/2013 2:08:07 AM | Location : United States







Related Discussions:- Which of the subsequent instructions should be privileged, Assignment Help, Ask Question on Which of the subsequent instructions should be privileged, Get Answer, Expert's Help, Which of the subsequent instructions should be privileged Discussions

Write discussion on Which of the subsequent instructions should be privileged
Your posts are moderated
Related Questions
Many-to-Many Model The many-to-many model- many user-level threads to many kernel-level threads avoids several of the limitations of the one-to-one model, although extending mu

Explain the Statements Present in Assembly Language An assembly program consists of subsequent three types of statements: a. Imperative statements: this point out an action

Paging full question

Explain about threading issues? The fork and exec system calls In a multithreaded program of few UNIX systems have chosen to have two versions of fork, one that duplicates e

Determine what the “blocking factor” of a file is Blocking factor is the number of logical records in one physical record

Problem 1. List out the conditions that result in Deadlock situations. Illustrate deadlock situation with a simple graphical notation Listing conditions for deadlock occu

What are the three main activities of an operating system in regard to memory management? Keep track of which parts of memory are now being used and by whom. Decide which pr

What are the various page replacement algorithms used for page replacement? FIFO page replacement Optimal page replacement LRU page replacement LRU approximat

1. Suggest some mechanism(s) to lower the dispatch latency while scheduling for a real-time system. Also, discuss any trade-off or consequent constraint associated with it, if a

What is the purpose of the command interpreter? Why is it usually separate from the kernel? It reads commands from the user or from a file of commands and executes them, usuall