Question: Write a MIPS assembly language program that will compute the sum of the even positive values minus the odd negative values in an array of

Write a MIPS assembly language program that will compute the sum of the even positive values minus the odd negative values in an array of words (the name of the array is numbs). Stop when a value of zero is found in the array. The final result is stored in $s0. Example of the array: numbs: .word -29, -30, 75, 34, -2, 90, -11, 98, 1, 0, 76

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!