00000plagiarism
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/
7 years ago
20
Purchase the answer to view it

- SUMEVENODD.asm
- image.png
- Due now...
- Research Paper on Autism
- memo
- Case Study: Internal Briefing Report
- Discussion question #1
- Mechanism discreption about electronic drill ?
- Assignment
- No work
- makw sure it plagerism free. Bought one last week for $13 and was flagged for plagerism
- MHA 622 Week 2 Assignment ( Respondeat Superior ) ~ As Discussed