Homework 2
Short Description:
Implement the Sieve of Eratosthenes in MIPS assembly language.
This assignment is worth 20 points.
Goals
When you finish this homework, you should:
- Be able to write simple control structures in MIPS assembly language
- Be able to deal with arrays in MIPS assembly language
Formal Description
Write a program which will find all prime numbers less than 500 using the Sieve of Eratosthenes.
Output
Your program should print all prime numbers found, in a table four columns wide.
2 3 5 7
11 13 17 19
...
Discussion
Make sure your program is well structured and well documented.
Required Files
Your assembly file.
Submission
Email your assembly file to danbennett360@gmail.com by March 4 at class time.