Step 3. Optimize the code for summing an array of 50 elementsusing loop unrolling. Run and generate the graph of performanceimprovement. [30 marks]
Submission:
A. Make a word document with only the assembly code generatedfrom the programs
B. Compare and contrast different versions of loops written inassembly for Step 2 Comparison should be done based on:
a. Number of registers used
b. Number of jumps (iterations)
c. Total number of operations
C. Submit the word document to the Open Learning Faculty Member forgrading.
Expert Answer
Answer to Step 3. Optimize the code for summing an array of 50 elements using loop unrolling. Run and generate the graph of perfor…