Bird
0
0

Which of the following is the correct syntax for a branch instruction in ARM assembly?

easy📝 Factual Q12 of 15
ARM Architecture - Control Flow Instructions
Which of the following is the correct syntax for a branch instruction in ARM assembly?
AB label
Bbranch to label
Cjmp label
Dgoto label
Step-by-Step Solution
Solution:
  1. Step 1: Recall ARM branch syntax

    ARM uses the instruction B followed by the label name to branch.
  2. Step 2: Eliminate incorrect syntax

    Instructions like 'branch to', 'jmp', or 'goto' are not valid ARM syntax.
  3. Final Answer:

    B label -> Option A
  4. Quick Check:

    Correct syntax = B label [OK]
Quick Trick: Branch uses 'B' followed by label name [OK]
Common Mistakes:
  • Using non-ARM keywords like 'jmp' or 'goto'
  • Writing full words instead of 'B'
  • Omitting the label after B

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More ARM Architecture Quizzes