CPE 315
Winter 2008
Laboratory Exercise #3
Due at the end of lab, Jan. 24 or by arrangement
Objective:
- To learn how to run a MIPS program
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:
- Download the demonstration program and run it.
- Reverse the order of the prompt strings in the Data area.
This will change the prompt addresses and necessitate changing the lui/ori
sequences.
- Run the program again and show it to Prof. Stearns
Deliverables
A demo of the changed MIPS program.
Last updated on 1/24/08