CS 220 Course Materials
CS 220 Course Materials
General
Homework
- Homework 1, due Sept. 26.
- Homework 3, due Oct. 17.
- Homework 4,
due Nov. 3.
Checking your SAL program.
Hint: you will eventually encounter
arithmetic
overflows on adds, resulting in erroneous results. Use the
addu rather than the add instruction to correct
the problem. (addu is an unsigned add, which doesn't
generate overflow.) The overflow occurs as a result of the signed
addition of positive operands producing a negative sum.
- Homework 5,
due Nov. 17.
- Postfix Project,
due Dec. 10. Note: don't write the null
character as '\0' in SPIM; instead use 0. The outline for Dec. 3
does not contain the isspace function, but both postfix.hints and
postfix.spim now do.
Midterms
Lecture Outlines
Last updated May 26, 2021.
Send mail to kelliher AT DOMAIN phoenix.goucher.edu
Tom Kelliher