Please download and install SPIM simulator.

The documentation is in the text book and on the URL

http://www.cs.wisc.edu/~larus/SPIM

To run PCspim on a PC under Microsoft Windows, download the file

http://www.cs.wisc.edu/~larus/SPIM/pcspim.zip

unzip it, and run setup.exe.

Source for the PC version (both PCspim and spim) is available separately in the file

http://www.cs.wisc.edu/~larus/SPIM/pcspim_src.zip.