The instruction which are executed only in kernel mode is known as ______.
privileged instruction
Operating systems use different execution modes to protect system resources and ensure stability. The two primary modes are user mode and kernel mode.
Kernel mode is the most privileged mode of execution. In this mode, the operating system kernel has full access to all hardware resources, including memory, CPU, and I/O devices. Code running in kernel mode can execute any instruction, including those that directly manipulate hardware or control system operations.
User mode is a restricted execution mode. Applications and most parts of the operating system's services run in user mode. In this mode, software has limited access to system resources and hardware. To perform operations that require direct hardware access or control (like accessing a file or network), a user-mode program must make a system call, which transitions the CPU into kernel mode to execute the request.
Certain instructions are considered critical for system operation and security. These instructions can perform actions like:
These instructions are called privileged instructions. Due to their potential to affect the entire system, they are designed to be executed only when the CPU is in a privileged state, specifically kernel mode.
Executing privileged instructions only in kernel mode is a fundamental security mechanism. If user-mode programs could execute these instructions, they could potentially:
By restricting privileged instructions to kernel mode, the operating system maintains control and protects itself and other processes from unauthorized access and manipulation.
Therefore, the instruction executed only in kernel mode is known as a privileged instruction.
| Concept | Description | Execution Mode |
|---|---|---|
| Kernel Mode | Full access to hardware and system resources. | Privileged |
| User Mode | Restricted access to hardware and system resources. | Unprivileged |
| Privileged Instruction | Instructions controlling system resources (e.g., I/O, interrupts). | Only Kernel Mode |
| Non-privileged Instruction | General instructions (e.g., arithmetic, logical, data movement). | User Mode and Kernel Mode |
User-mode programs need to interact with hardware and perform privileged operations. They do this by issuing a system call. A system call is a request from a user-mode program to the operating system's kernel for a service. When a system call occurs:
System calls act as a controlled interface between the less privileged user mode and the highly privileged kernel mode, allowing user programs to indirectly access privileged functionalities without being able to execute privileged instructions directly.
Read the given figure and find the region representing persons who are educated and employed but not confirmed in job.

The magazine in which Mahatma Gandhi mentioned what he wanted the Constitution to do is:
Which gas shields the surface of the earth from ultraviolet radiation from the sun?
Which event is marked as an Intangible Cultural Heritage of Humanity by UNESCO?
Who has been conferred with the rank of the Commander of the Order of the British Empire in 2018?