MIPS Assembly Programming

"MIPS Assembly Programming" is a free book teaching MIPS assembly targeted primarily at college students taking a classes that use MIPS and commonly use SPIM, OtSpim, or MARS simulators. It covers all the basics: data declaration, syscalls, branching, looping, the calling convention and recursive functions, even floating point numbers. It should make the programming portion of the class much easier. Lastly, it might also be helpful to those taking a similar class using RISC-V as it is very similar to MIPS and the general assembly programming concepts are universal.

Read It

Read the latest version in html or pdf:


Get the asciidoc source from Github


The book (all adoc files and final generated pdf/html) is under a Creative Commons License.

The separate code files in the code subdirectory are under the MIT license.

© Robert Winkler, 2010 - 2022. Site design based on an old version of Michael Fogelman's awesome site.