Tom Kelliher, CS 220
Due Oct. 5, 2005
In class, turn in hard copy of your MIPS source code and a sample run of each program. E-mail attachments are not acceptable. You can use the Linux script command to capture your sample run. The basic idea is:
bluebird:~/Class/Cs220/Examples % script Script started, file is typescript bluebird:~/Class/Cs220/Examples * spim SPIM Version 7.1 of January 2, 2005 Copyright 1990-2004 by James R. Larus (larus@cs.wisc.edu). All Rights Reserved. See the file README for a full copyright notice. Loaded: /usr/local/bin/exceptions.s (spim) load "addn.spim" (spim) run How many inputs? 3 Next input: 5 Next input: 2 Next input: 8 The sum is 15 (spim) quit bluebird:~/Class/Cs220/Examples * exit Script done, file is typescript bluebird:~/Class/Cs220/Examples % lpr -P hs123ps typescript bluebird:~/Class/Cs220/Examples % rm typescriptThe typescript file that was printed with via the lpr command chronicles the terminal session from the time that the script command was executed until the script session was exited via the exit command.