Complete the code to load a value from memory into a register using ARM assembly syntax.
LDR R0, [[1]]The instruction loads the value from the address in register R1 into R0.
Complete the code to multiply two registers and store the result in R0.
MUL [1], R1, R2The MUL instruction multiplies R1 and R2 and stores the result in R0.
Fix the error in the code to correctly add R1 and R2 and store in R0.
ADD R0, [1], R2The ADD instruction adds R1 and R2 and stores the result in R0.
Fill both blanks to create a loop that decrements R4 until zero.
LOOP: SUB [1], [2], #1 CMP [1], #0 BNE LOOP
The loop subtracts 1 from R4, compares it to zero, and loops until R4 is zero.
Fill all three blanks to implement a saturating addition of R1 and R2 into R0.
QADD [1], [2], [3]
The QADD instruction performs saturating addition of R1 and R2, storing the result in R0.
