* Question
How does the ARM processor hardware respond to the following process when an abort occurs (assuming the interrupt is not masked)? |
* Answer
When an abort occurs, the ARM processor hardware automatically responds to the following procedure (assuming the interrupt is unmasked):
1 Set the register LR to the return address. 2 Save the current program status register.Method: Save the CPSR content of the previous mode to the SPSR register corresponding to the abnormal interrupt. 3 off interrupt.The above process is done automatically by the ARM processor hardware without user intervention. |
COMMENTS