Resources

[General] [Spim] [MythSim]

General

Author's web site, with PowerPoint slides, sample exams, quizzes, and programs.

Binary Number systems lessons from http://courses.cs.vt.edu/csonline/NumberSystems/Lessons/

MIPS

MIPS Quick Language Tutorial ( includes Register description, I/O description). MIPS programming examples.

Good web-based tutorial on MIPS from Bradley Kjell, Central Connecticut State University

SPIM

Download SPIM simulator from http://www.cs.wisc.edu/~larus/spim.html. See also Larus' nice description of SPIM (pdf, also locally here.)

Download Mipster SPIM editor from http://downloads-zdnet.com.com/3000-2352-10138578.html

Description of SPIM: Appendix A, written by James Larus, found in Hennessy & Patterson, Computer Organization and Design: The Hardware/Software Interface (78 pages, 356KB as a PDF). Within Appendix A, section A-39 describes UNIX versions of SPIM. For a description of the Windows version of SPIM, see here (pdf), or locally here.

Sweetman, Dominic. See MIPS Run. c. 2002 by Academic Press, Morgan Kaufmann Publishers.

Running SPIM on the CS lab Sun workstations (courtesy of Pat Troy):

The program is in the directory: /usr/local/spim/bin/. For convenience to run the program, you can add the following line in your .tcshrc file:
     set path=(/usr/local/spim/bin/ $path)
After this, you can directly run the program by typing “xspim”.

How to load an assembly file:
     Click the button “load” in xspim and then type the file name. Note: If your “xspim” doesn’t run in the directory where your assembly files is, you have to type the file name with its complete directory in order to load the file into Xspim.

A good overview of MIPS and SPIM given at http://edge.mcs.drexel.edu/GICL/people/sevy/architecture/MIPSRef(SPIM).html

MythSim

See Getting Started with Mythsim.

Download a Java version at http://www.mythsim.org. See the manual section for a datapath diagram, quick reference card, and past handouts.

[CS Dept.] [UIC] [Prof. Reed]