[Mips & Spim] [Control Unit Design & Mythsim] [Other]
Introduction (258K doc)
directory of code examples
The MIPS Architecture (doc)
In-class first example (html, doc) of program to find sum of numbers from 10 down to 0
MIPS Quick Tutorial (html, doc) includes register description table, I/O description table)
Programming Examples handout
switch statment program (rtf), and example trace (rtf format)
Developing Efficient Code: Evaluating a Program (MS Word)
Factorial (doc): in C and corresponding MIPS
Exception Handling (doc)
Pipelining Issues (doc), architecture and examples (pdf)
Floating Point
- See class handout (pdf) chart of possible values in 8 bits, along with intuition diagram.
- See notes at: http://cs.gmu.edu/~setia/cs365-S02/ch4-lec3.pdf and also at
http://www.mcs.vuw.ac.nz/courses/COMP203/2004T2/Handouts/LectureNotes/11-floating-2x2.pdf
Solworth Ch1 Review class handout, Solworth Ch2 Review class handout
Control Unit design: hardwired & microprogrammed from Mano, ch. 8
ASM diagrams, Hardwired control figures, Microprogrammed control figures
Mealy and Moore machines example (MS Word)
Microprogrammed Adder (pdf) supplement (also listed below)Solworth Control Unit design class handout
MythSim two-sided Quick Reference sheet.
Mythsim handouts (doc) from Troy.
In-class example to add numbers, storing the result into memory (mem, ucode)
Files for Function Call examples (assembler, mem, microcode) implementing assembler stack instructions
See the Mano Textbook accompanying web site for the following chapter figures (pdf files)
Ch. 2: Combinational Logic Circuits (pdf)
Ch 4: Combinational Functions and Circuits (pdf)
Figures 2_34 (three state buffers) and 4_8 (decoder) (doc)
Ch 9: Memory Basics (pdf)
Ch 10: Computer Design Basics (pdf)
Ch 11: Instruction Set Architecture (pdf)
See also Instruction Set architecture notes (doc) and addressing modes diagram (doc)
Ch 12: RISC and CISC CPUs (pdf)
Ch 13: IO and Communication (pdf)
Ch 14: Memory Systems (pdf)
Cache example class handout (doc)Supplements:
Microprogrammed Adder (pdf)
Error Detection and Correction (pdf)
Topics Covered (doc)