Question: Purpose: Write your a MIPS assembly language program using an array made with a label Program Make an array of word values that has 2

Purpose: Write your a MIPS assembly language program using an array made with a label
Program
Make an array of word values that has 20 total elements. The array should be made using the label a.
The elements should be these integer values: 1,64,49,32,10,18,56,13,4,87,0,100,74,22,19,88,65,131,-1,2
After the array a is made, access the first element of a and store the arrays first value in the register $t0. Then access the last element of a and store the arrays last value in the register $t1.
Use The MIPS Technical Document To See The MIPS Assembly Language instructions. You may wish to download the document and refer to it as you are writing the program.
Write comments in your program that state your name, the programming logic, and any assembly language instruction line level details you feel you'd like to explain how you are using the assembly language instructions to perform the calculation of the sum.
Note: This program does not require any output. Just store the arrays first value in the register $t0 and the last element of a and store the arrays last value in the register $t1.

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!