0
0
ARM Architectureknowledge~10 mins

IT block for conditional execution (Thumb-2) in ARM Architecture - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to start an IT block that executes the next instruction if equal.

ARM Architecture
IT [1]
Drag options to blanks, or click blank then click option'
AGT
BNE
CEQ
DLT
Attempts:
3 left
💡 Hint
Common Mistakes
Using NE instead of EQ, which means not equal.
2fill in blank
medium

Complete the IT block to execute two instructions if greater than.

ARM Architecture
IT [1]T
Drag options to blanks, or click blank then click option'
AGT
BLE
CEQ
DNE
Attempts:
3 left
💡 Hint
Common Mistakes
Using LE which means less or equal, not greater than.
3fill in blank
hard

Fix the error in the IT block that should execute three instructions if less or equal.

ARM Architecture
IT [1]TT
Drag options to blanks, or click blank then click option'
AEQ
BGE
CNE
DLE
Attempts:
3 left
💡 Hint
Common Mistakes
Using GE which means greater or equal, not less or equal.
4fill in blank
hard

Fill both blanks to create an IT block that executes four instructions if not equal.

ARM Architecture
IT [1][2]T
Drag options to blanks, or click blank then click option'
ANE
BEQ
CT
DE
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'EQ' instead of 'NE' for not equal condition.
5fill in blank
hard

Fill all three blanks to create an IT block that executes three instructions if greater or equal.

ARM Architecture
IT [1][2][3]
Drag options to blanks, or click blank then click option'
AGE
BT
CE
DN
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'E' or 'N' which are not valid condition codes here.