00000plagiarism

Need your ASSIGNMENT done? Use our essay writing service to score better and meet your deadline.


Order a Similar Paper Order a Different Paper

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

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

 

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/