CodePudding user response:
The CPU to do three things:(1) the CPU will classify anomaly;
(2) save exception occurs when the PC is an instruction to the address of the next instruction to lr
(3) to jump to the exception to the scale of fixed position to execute code;
Interrupt handling process:
(1) save the scene; (2) looking for interrupt handling entry; (3) interrupt handling; (4) return the breakpoint