Question: I need a MIPS program that does the following: WIth an array of positive and negative values such as: array = 10, -5, -30, 15,

I need a MIPS program that does the following: WIth an array of positive and negative values such as: array = 10, -5, -30, 15, 20, -1, -26, -18, 0 and output the sum of the positive numbers in a register called posSum and output the sum of the negative numbers in a register called negSum. The sum of the positive numbers should be 45 and the sum of the negative numbers should be -80

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!