What happens when an exception is completed?

Daniel William

New member
What happens when an exception is completed?
A. TRAP instruction executes
B. SWI instruction executes
C. RFI instruction executes
D. terminal count increases
 
Answer: c
Explanation: When an exception is recognised, the address of the instruction and the MSR are stored in the supervisor registers and the processor moves to the supervisor mode and starts to execute the handler which is associated with the vector table. The handler examines the DSISR and FPSCR registers and carries out the required function. When it gets completed the RFI or return-from-interrupt instruction is executed.
 

Tìm kiếm

Back
Top