Bird
0
0

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

easy📝 Factual Q3 of 15
ARM Architecture - Control Flow Instructions
Which of the following is a correct ARM assembly syntax for a conditional branch?
ABNE label
BMOV R0, #1
CADD R1, R2, R3
DSTR R4, [R5]
Step-by-Step Solution
Solution:
  1. Step 1: Identify branch instruction syntax

    In ARM assembly, conditional branches use 'B' followed by a condition code and a label.
  2. Step 2: Match syntax to options

    'BNE label' means branch if not equal, which is a valid conditional branch.
  3. Final Answer:

    BNE label -> Option A
  4. Quick Check:

    Conditional branch syntax = BNE label [OK]
Quick Trick: Branch instructions start with B and condition code [OK]
Common Mistakes:
  • Choosing data movement instructions as branch
  • Confusing arithmetic with branch syntax

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More ARM Architecture Quizzes