Question: INEED HELP ANSWERING QUESTION 14, Name one code change to the program to make it faster? AREA .textl, CODE, READONLY PROC EXPORT square square MOV
INEED HELP ANSWERING QUESTION 14,
Name one code change to the program to make it faster? AREA .textl, CODE, READONLY PROC EXPORT square square MOV R1,RO CMP R1, #0 ANDS R3,RO,R1 BNE skip ADD RO,R1, LSL R3; MOV R2,R2, LSL #1 CMP R2, #0 BNE loop BX LR loop skip ENDP ALIGN END Name one code change to the program to make it faster? AREA .textl, CODE, READONLY PROC EXPORT square square MOV R1,RO CMP R1, #0 ANDS R3,RO,R1 BNE skip ADD RO,R1, LSL R3; MOV R2,R2, LSL #1 CMP R2, #0 BNE loop BX LR loop skip ENDP ALIGN END
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
