CPE 315
Winter 2008
Laboratory Exercise #3
Due at the end of lab, Jan. 24 or by arrangement


Objective:

Files:
MIPS Demonstration Program

SPIM Simulator (already installed in /usr/bin)
Note: there are versions for Windows and Linux. The Windows version requires no configuration work; you download an executable.

Reference:
Appendix A of our text has a complete manual for the MIPS ISA, XSPIM and its MIPS assembler.

Description:

  1. Download the demonstration program and run it.
  2. Reverse the order of the prompt strings in the Data area.
    This will change the prompt addresses and necessitate changing the lui/ori sequences.
  3. Run the program again and show it to Prof. Stearns

Deliverables
A demo of the changed MIPS program.

Last updated on 1/24/08