Spim is A MIPS32 Simulator freely available for Linux, Mac and Windows. The process for installing the software from source is not as nice as we would expect it to be.
Download source code from:
http://www.cs.wisc.edu/~larus/SPIM/spim.tar.gz
You will probably need to get Bison and Flex:
sudo apt-get install bison flex
Don’t forget:
sudo apt-get install libxaw7-dev
Otherwise you’ll get “X11/Xaw/Cardinals.h: No such [...]