Complete the code to show the instruction that causes a branch in ARM assembly.
B [1]In ARM assembly, the B instruction is used to branch to a label, which changes the flow of execution.
Complete the code to branch if zero flag is set in ARM assembly.
BEQ [1]The BEQ instruction branches to the given label if the zero flag is set, indicating equality.
Fix the error in the branch instruction to correctly jump to the label.
B [1]The branch instruction must be followed by a valid label name, not a number or instruction.
Fill both blanks to create a conditional branch that jumps if not equal.
B[1] [2]
The BNE instruction branches if the zero flag is clear, meaning not equal. It must be followed by the target label.
Fill all three blanks to create a branch with link instruction to a function label.
BL [1] [2] [3]
The BL instruction branches to a function label and saves the return address. The following tokens are invalid here, so only the label is correct; the other blanks are distractors to fill.