Bird
0
0

Which of the following is the correct syntax to start an IT block in Thumb-2 assembly?

easy📝 Factual Q12 of 15
ARM Architecture - Control Flow Instructions
Which of the following is the correct syntax to start an IT block in Thumb-2 assembly?
ATHUMB IT EQ
BIF EQ
CIT EQ
DCOND EQ
Step-by-Step Solution
Solution:
  1. Step 1: Recall IT block syntax

    The IT instruction is followed by a condition code like EQ (equal).
  2. Step 2: Check options

    Only IT EQ uses the correct keyword 'IT' followed by the condition 'EQ'. Others are invalid syntax.
  3. Final Answer:

    IT EQ -> Option C
  4. Quick Check:

    IT + condition code = IT EQ [OK]
Quick Trick: IT block starts with 'IT' plus condition code (e.g., EQ) [OK]
Common Mistakes:
  • Using 'IF' instead of 'IT'
  • Adding extra keywords like 'COND' or 'THUMB'
  • Omitting the condition code after IT

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More ARM Architecture Quizzes