Homework 7   – MIPS                                                                                                                                   Due: 11/07/2019 5:00 PM                                                                                                                                        

Write a MIPS assembly language program to solve the following problem:

Don't use plagiarized sources. Get Your Custom Essay on
Just from $13/Page
Order Essay


For a set of integers stored in an array, calculate the sum of the even numbers and the sum of the

odd numbers. The program should store these numbers in memory variables: evenSum and

oddSum. Numbers should be read from the array one at a time with a zero value (0) being used to

signal the end of data in the array.



Before you start writing MIPS assembly language, write a high-level language algorithm. THEN, translate it to

MIPS assembly language.



There are two MIPS simulators you can use.  I have been using MARS in class as it runs in Java.


MARS (MIPS Assembler and Runtime Simulator) can be found here: http://courses.missouristate.edu/KenVollmar/mars/



QtSpim for either Windows, MAC or Linux can be found here:: http://sourceforge.net/projects/spimsimulator/files/



Calculate the price of your paper

Total price:$26
Our features

We've got everything to become your favourite writing service

Need a better grade?
We've got you covered.

Order your paper

STAY HOME, SAVE LIVES. Order your paper today and save 15% with the discount code FLIX