Syllabus

 Class Resources

 SPIM MIPS Simulator

 Programmed Introduction to MIPS Assembly Language
 Introduction to RISC Assembly Language Programming
 Online number systems tutorial
 IEEE-754 floating-point calculator
 The IEEE standard for floating point arithmetic

 Notes and other references

 Assembler statement and Machine Instruction fields
 Register use chart
 SPIM quick reference
 How to do an unsigned integer multiply by shifting and adding

 Example programs

 Add2+3.asm
 shiftMult.asm
 InputOutput.asm
 testArrayCopy.asm
 reverseString.asm
 stackEval.asm
 capitalize.asm stack-based linkage convention example
 factorial.asm frame-based linkage convention example
 dblLoopTest.cpp floating-point test for equality problem example C++ program
 newton.asm Newton's method to appriximate square roots

 Assignments

 Assignment 1
 Assignment 2
 Assignment 3
 Assignment 4
 Assignment 5 due 10/16/08
 Assignment 6 due 10/30/08
 Assignment 7 due 11/04/08
 Assignment 8 due 11/11/08
 Assignment 9 due 11/18/08
 Assignment 10 due 11/25/08
 Assignment 11 due 12/04/08
 Assignment 12 due 12/04/08