Question: A typical hardware architecture provides an instruction called return from interrupt, abbreviated by something like iret. This instruction switches the mode of operation from kernel-mode to user-mode. This instruction is usually only available while the machine is running in kernel-mode.
a. Explain where in the operating system this instruction would be used.
b. Explain what happens if an application program executes this instruction.