The correct answer is D. Supervisor mode.
When an external interrupt is generated, the processor enters supervisor mode. This is a privileged mode that allows the processor to access all of the system resources. In supervisor mode, the processor can execute privileged instructions, such as those that are used to manage the memory and interrupt system.
Real mode is the simplest mode of operation for a processor. In real mode, the processor can only access a limited amount of memory and cannot execute privileged instructions. Virtual mode is a more advanced mode of operation that allows the processor to access more memory and execute privileged instructions. Protected mode is a security-enhanced mode of operation that allows the processor to run multiple programs at the same time.
Here is a brief explanation of each option:
- Real mode is the simplest mode of operation for a processor. In real mode, the processor can only access a limited amount of memory and cannot execute privileged instructions.
- Virtual mode is a more advanced mode of operation that allows the processor to access more memory and execute privileged instructions.
- Protected mode is a security-enhanced mode of operation that allows the processor to run multiple programs at the same time.
- Supervisor mode is a privileged mode that allows the processor to access all of the system resources.