Bird
0
0

You want to add a custom interrupt handler for a new peripheral. Where in the ARM vector table should you place this handler's address?

hard📝 Application Q15 of 15
ARM Architecture - Exception and Interrupt Model
You want to add a custom interrupt handler for a new peripheral. Where in the ARM vector table should you place this handler's address?
AAt the first entry replacing the initial stack pointer
BAt the specific interrupt vector slot assigned to that peripheral
CAt the second entry replacing the reset handler
DAt the end of the vector table after all default handlers
Step-by-Step Solution
Solution:
  1. Step 1: Understand vector table layout

    The vector table has fixed slots for each exception and interrupt type.
  2. Step 2: Identify correct slot for custom interrupt

    Custom peripheral interrupts must be placed at their assigned interrupt vector slot, not at stack pointer or reset handler entries.
  3. Final Answer:

    At the specific interrupt vector slot assigned to that peripheral -> Option B
  4. Quick Check:

    Custom handler = Assigned interrupt vector slot [OK]
Quick Trick: Place handlers in their assigned vector slots only [OK]
Common Mistakes:
  • Replacing stack pointer or reset handler
  • Appending handler at vector table end
  • Ignoring fixed vector slot assignments

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More ARM Architecture Quizzes