Solved MIPS exercises (IC1)

All the MIPS assembly exercises on SergioLearns, by topic and from easy to hard, following the IC1 syllabus: exam-style problems with solutions commented line by line, tested in QtSpim, and a practice quiz for every topic.

sergio@learns: ~/exercises/mips

sergio@learns:~$ ls -l ~/exercises/mips --sort=level

total 6 topics · 18 exercises · 72 quiz questions

[ OK ] every solution is commented and was run before publishing

==> question-of-the-day

Loading today’s question…

Exercises by topic

How each exercises article is made

They are IC1 exam-style exercises, ordered from easy to hard. Every solution is commented instruction by instruction, with the registers that change and why, and it is tested in QtSpim. Before the solutions there is a «What is wrong here?» with the typical mistakes (the missing syscall, the wrong offset…) and, at the end, a practice quiz.

Before you start

If you have never programmed in MIPS, start by installing QtSpim and the guide on how to use QtSpim, or open the MIPS playground and try the code with nothing to install. The list above updates itself every time I publish a new topic.