SyllabusExam 3 will be on Friday May 2
Topics for the Exam
Last Year's Exam Solution
Exam 2 will be on Friday Mar. 28
Exam 2 Topics
Last semester's exam (accompanying figure) Solution
Results
Solution: Question1
others q'sExam 1 will be on Friday Feb. 15
Exam 1 Topics SolutionResultsPC-SPIM, a MIPS simulator.
Get it from the Official Site: here.
Simpler Install (for lab use): here.Context Programmer's Editor (highlights MIPS instructions etc.)
(For comparison, you can see a summary of x86 Assembly here.)
Assembly language hidden inside Visual Studio: simpleCode.cod
simpleCode.cppDocumentation for MIPS (Appendix from our text).
MIPS card page1, page2Homeworks
HW1 Solutions: Part1Part2
HW2 Solution
HW3
HW4
HW5 Amended Due Date: email your work to me by Midnight Tuesday April 1.
HW6
HW7
Solution
Lecture
1/16: Temperature conversion code
1/18: If statements, starting code
finished code with 1234...10 loop and child/senior discounts
1/23: Arrays
sequentialAccess start code
randomAccess start codeFunction calls
factStart finished code
broken function calling code
decoding instructions instrDecode.s2/8
Figures from Chapter 3Division: paper and pencil
substract and shift: example 1, example 2Floating Point numbers .... printing them with PCSPIM
floating point addition
floating point multiplication3/5 MicMac
(For the Lab)
1 download and unzip
2 open a DOS prompt inside the unzipped folder
3 Type: java -cp . MicMac (that's minus cp dot)
Quiet MicMac Patch: MicMacTalker.class
The MicMac greenCard
The MicMac micro instruction format3/14 Microprogramming
Ones ( a new MicMac instruction that counts the 1-bits in AC)MIPSIT: a pipeline simulation Lab