Better SPIM Reference Manual
Appendix A: Assemblers, Linkers, and the SPIM Simulator from the third edition of Hennessy & Patterson, Computer Organization and Design: The Hardware/Software Interface.
An overview and reference manual for spim and the MIPS32 instruction set.