COMPUTER FUNDAMENTALS

INTRODUCTION TO COMPUTERS

COMPUTER ARCHITECTURE AND ORGANIZATION

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
The CPU has two modes privileged and non-privileged. In order to change the mode from privileged to non-privileged, ____ is needed.
A
a hardware interrupt
B
a software interrupt
C
either hardware or software interrupt
D
a non-privileged instruction
Explanation: 

Detailed explanation-1: -A software interrupt is initiated by some program module which need some CPU services, at that time the two modes can be interchanged. Hence (b) is correct option.

Detailed explanation-2: -Generally the user mode of the operating system is called non-privileged mode and kernel mode of the operating system is called privileged mode.

Detailed explanation-3: -Privileged Instructions These instructions run only in the kernel mode of the operating system. To perform correct operations, the operating system runs these types of instructions. If privileged instructions are tried to run in user mode then it will not be executed and show as illegal instruction.

There is 1 question to complete.