Question: Write a section of ARM assembly code that performs the following calculation. Your program must use an auto-indexing addressing mode to access the array elements.
Write a section of ARM assembly code that performs the following calculation. Your program must use an auto-indexing addressing mode to access the array elements.
| Register | Use |
| R4 | Current value |
| R5 | Starting address of array |
| R6 | Ending address of array |
Logically AND all the values store in the array to the current value store in R4. There is no need to check for error conditions of the calculations. Regardless of the number of elements in the array limit the calculation to no more than 12.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
