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
Some CPUs provide for more than two modes of operation. What are two possible uses of these multiple modes?

What are the steps followed in testing? i. Unit testing - The individual components are tested in this type of testing. ii. Module testing - Related collection of independen

Define busy waiting and spinlock. When a process is in its significant section, any other process that tries to enter its critical section must loop continuously in the entry c

what is process creation and how to create a process

Referring to Figure below, discuss how you would alter the circuit to obtain: 1. a straightforward amplifier with gain 1, 2. a straightforward amplifier with gain 10, 3. a

Explain the Request/Response Interface   Many issues are involved in providing a procedural interface for client functions to interact with server components. First off, since

protection in operating system

Write pseudo code to implement the pthread_create wrapper of the Tern memoizer. Note you need to describe your data structure for maintaining deterministic thread IDs. In addition,

What is an I/O subsystem? The control of devices connected to the computer is a main issue while designing operating systems. Because I/O deices differ widely in their function

Invalid page fault :If a page fault happens for a reference to an address that's not part of the virtual address space, so that there could not be a page in memory corresponding