Bird
0
0

In an ARM system, how would you configure priorities if you want IRQ to preempt SVC but not FIQ, and SVC to have the lowest priority?

hard📝 Application Q9 of 15
ARM Architecture - Exception and Interrupt Model
In an ARM system, how would you configure priorities if you want IRQ to preempt SVC but not FIQ, and SVC to have the lowest priority?
AFIQ=2, SVC=1, IRQ=0
BIRQ=0, FIQ=1, SVC=2
CSVC=0, IRQ=1, FIQ=2
DFIQ=0, IRQ=1, SVC=2
Step-by-Step Solution
Solution:
  1. Step 1: Define priority requirements

    FIQ highest priority, IRQ next, SVC lowest.
  2. Step 2: Assign priority numbers accordingly

    FIQ=0 (highest), IRQ=1 (middle), SVC=2 (lowest) satisfies the condition.
  3. Final Answer:

    FIQ=0, IRQ=1, SVC=2 -> Option D
  4. Quick Check:

    Priority order FIQ < IRQ < SVC = FIQ=0, IRQ=1, SVC=2 [OK]
Quick Trick: Assign priorities so lower number means higher priority [OK]
Common Mistakes:
  • Giving SVC higher priority than IRQ
  • Swapping FIQ and IRQ priorities
  • Using same priority for IRQ and SVC

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More ARM Architecture Quizzes