6-May-2004: There is a critical error in the print procedure that I provided to you for lab 10. Specifically, the code (following one correction presented during the lab) current reads:
# Restore the registers and pop the activation frame.
lw $a0, 4($sp)
lw $a1, 0($sp)
addi $sp, $sp, 8
If you look at the beginning of the procedure where the $a0 and $a1 registers are preserved on the stack, you will notice that the lines above that restore the register values are backwards. Specifically, the first line should restore $a1 and the second line should restore $a0. The calling code in __start depends on these registers (particularly $a1) to be properly preserved. You must fix these lines for your code to work.
5-May-2004: For those who have finished lab 10, you can now submit it. (I had forgotten to create the directory for lab 10 submissions...)
3-May-2004: Once again, there will be a lecture today and then a lab on Wednesday.
26-Apr-2004: We will have a lecture today instead of a lab. Depending on how far we get with the material, we may have a lab on Wednesday. Note also that the final project has been posted.
25-Apr-2004: Many of you have drifted away from the style guide, and you are not only needlessly losing points for it on your labs, but you are also writing sloppy code. For the final project penalties for poor style will be doubled. Be sure that your code is consistently well structured, formatted, and commented. Imagine that this is code that this is code that you would be willing to place on the web for the world to download -- with your name prominently displayed as the author!