For this ARM assembly code: AREA PrOg. CODE, READONLY
ENTRY COUNT EQU 128
fune MOV R1, 0
loop CXP R1, #COUNT
BGE exit
LDR R2, [R3, R1, LSL #2]
ADD RO, RO, R2
ADD R1, Ri, #2
loop exit MOV PC, LR
(a) How many bytes of memory does this program occupy? [2 marks]
(c) Optimize and rewrite the above assembly program so that only one branch instruction is used. [6 marks] and execution time? [marss]