Computer
Organization and Design
(Textbook. Click for information.)
 CS 2733/2731
 Computer Organization II
 Fall 2004

 Recitation 13
 Exception Handling
    Week 13: Nov 15-19
 Due (on time): 2004-11-24  23:59:59
 Due (late):        2004-11-28  23:59:59

Recitation 13 must be submitted following directions at: submissions on or before
  • 2004-11-24  23:59:59 (that's Wednesday, 24 November 2004, 11:59:59 pm) for full credit.
  • 2004-11-28  23:59:59 (that's Sunday, 28 November 2004, 11:59:59 pm) for 75% credit.

Outline: In this laboratory you will explore exception handling in MIPS. Note: It may help you with this recitation to look over and work on the Take-Home Quiz, which is due in class, Monday, 29 November 2004, for full credit.


What you should submit: Refer to the submissions directions and to deadlines at the top of this page. The text file that you submit should first have Your Name, the Course Number, and the Recitation Number. The rest of the file should have the following in it, in the order below, and clearly labeled, including at the beginning the appropriate number 1-4.

  Contents of submission for Recitation 13:

Last Name, First Name; Course Number; Recitation Number (13).

  1. Code for the revision of the original MIPS program: instr_good.s.
  2. Results of a run with instr_good.s.
  3. Code for the original program instructions.s, along with the revision of the exception handler: instr_excep_fixed.s.
  4. Results of a run with instr_excep_fixed.s.

Special Note: In class I acted as if you could use spim on the Sun machines if you wanted to (the old version), but I've changed my mind. You must use the spim on the Linux machines, or on your own machine unless you have an old version. The code for exceptions.s will not run on the Sun machines.


Revision date: 2004-11-19. (Please use ISO 8601, the International Standard.)