Question: 4. Rewrite the following ARM assembly code to make it more efficient. Put comments for each line of your code. MOVS r1,#0x00 LDR r2, =

 4. Rewrite the following ARM assembly code to make it more

4. Rewrite the following ARM assembly code to make it more efficient. Put comments for each line of your code. MOVS r1,#0x00 LDR r2, = total addr STR r1,[r2, #0x001 MOVS r0, #0x00 Check Loop: LDR r1,=a-addr ri, Iri, ro, LSL #21 LDR LDR LDR ADD LDR STR ADDS r2, total addr r2,[r2,#0x001 r1, rl, r2 r2, = total addr r1,[r2,#0x001 r0, r0, #1 Check: CMP r0, #0x0A BLT Loop NOP Self: B Self

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!