Peer Review - Frans Karlsson
The code compiles and all files are present. The somehow passes, but when I run the code locally, it doesn't work. There are plenty lui %hi
and ori %lo
which is fine, but I'm pretty sure we were allowed to use pseudo instructions in this lab so a li
could be easier to read. The kernel registers are stored, but the other registers are not saved. The exceptions' handler looks good, and it will handle everything correctly.
Otherwise, the code looks good, the process switching bug only needs to be sorted out. Good Luck!