Bird
0
0

Which ARM instruction is used to call a subroutine?

easy📝 Factual Q12 of 15
ARM Architecture - Subroutines and Stack
Which ARM instruction is used to call a subroutine?
ABX LR
BBL
CMOV
DADD
Step-by-Step Solution
Solution:
  1. Step 1: Identify call instruction

    In ARM, the instruction to call a subroutine is 'BL' which means Branch with Link.
  2. Step 2: Differentiate from return instruction

    'BX LR' is used to return from a subroutine, not to call it.
  3. Final Answer:

    BL -> Option B
  4. Quick Check:

    Call subroutine = BL instruction [OK]
Quick Trick: BL calls subroutine; BX LR returns [OK]
Common Mistakes:
  • Confusing BX LR as call instead of return
  • Using MOV or ADD as call instructions
  • Mixing up branch instructions without link

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More ARM Architecture Quizzes