Engineering Homework Help

Explain the assembly language.

 

Please explain clearly the code in the attachment for the question below. each line and each block, please. This is the Assembly language MIPS. Please read the requirement clearly.

This is the question: Array Reversal (50 pts). Write MIPS assembly code to reverse the order of elements in an array. For example, given an array with 10 elements, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, the program should return the array as 20, 18, 16, 14, 12, 10, 8, 6, 4, 2. You should test your program on arrays of different lengths, including both even and odd lengths.

you don’t need to write the code, just explain each line and each block clearly.