Bird
0
0

An ARM exception handler is missing the instruction to save the link register. What problem will this cause?

medium📝 Analysis Q6 of 15
ARM Architecture - Exception and Interrupt Model
An ARM exception handler is missing the instruction to save the link register. What problem will this cause?
AThe exception will be ignored
BThe processor will not return correctly after handling the exception
CThe processor will reset immediately
DThe handler will run twice
Step-by-Step Solution
Solution:
  1. Step 1: Understand the link register's role

    The link register holds the return address to continue normal execution after the handler.
  2. Step 2: Effect of not saving the link register

    If it is not saved, the processor loses the return address and cannot resume correctly.
  3. Final Answer:

    The processor will not return correctly after handling the exception -> Option B
  4. Quick Check:

    Missing link register save = incorrect return [OK]
Quick Trick: Save link register to return properly [OK]
Common Mistakes:
  • Thinking exception is ignored
  • Assuming processor resets
  • Believing handler runs twice

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More ARM Architecture Quizzes