Program 1

Short Description:

This program is intended to help you become familiar with MIPS assembly programming.

This assignment is worth 20 points.

Goals

When you finish this homework, you should:

Formal Description

Output

Your output should look something like (assuming the input was 10 and 2)
Program 1, Computer Architecture, Spring 2010
This program will calculate the first n Fibonacci numbers
Program modified and run by Dan Bennett 
-----------------------------------
i	F(i)
1	1
3	2
5	5
7	13
9	34
-----------------------------------

Discussion

You may use any MIPS simulator you wish, but I will grade your homework using MARS and it must run under this simulator.

Required Files

The body of your email must contain the following statement. "I do solemnly swear (or affirm) that I have made the additions to the code myself, and I understand what these additions do." Your should attach your modified program. I intend for you to type the code. I want you to look at the code as you enter it. It would be really useful for you to look at the instructions up on the green MIPS Reference Data sheet. Notice where the mnemonics are classified. Further notice the use of registers.

Submission

Email your assembly file to danbennett360@gmail.com by Feb 25 at class time.