Bird
0
0

Which of the following is the correct syntax for a conditional branch in ARM assembly that jumps if the first register is greater than the second?

easy📝 Factual Q3 of 15
ARM Architecture - Control Flow Instructions
Which of the following is the correct syntax for a conditional branch in ARM assembly that jumps if the first register is greater than the second?
ABGT label
BBLT label
CBEQ label
DBNE label
Step-by-Step Solution
Solution:
  1. Step 1: Understand condition codes

    BGT means branch if greater than, BLT means less than, BEQ means equal, BNE means not equal.
  2. Step 2: Match condition to instruction

    To jump if first register is greater, use BGT.
  3. Final Answer:

    BGT label is correct for greater than condition -> Option A
  4. Quick Check:

    Greater than branch = BGT [OK]
Quick Trick: Use BGT to branch if first value is greater than second [OK]
Common Mistakes:
  • Using BLT for greater than
  • Confusing BEQ with greater than
  • Using BNE incorrectly

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More ARM Architecture Quizzes