Question: 1. Write ARM assembly code which checks whether ; the value of R0 is divisible by 4. If it is, set R8=1. ; If not,
1. Write ARM assembly code which checks whether ; the value of R0 is divisible by 4. If it is, set R8=1. ; If not, set R8=0. (Hint: This does not require a loop.) MOV R0, #120 ; set input MOV R8, #0 ; return value in R8
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
