Tom Kelliher, CS 220
Oct. 28, 2011
Follow these instructions:
project.s,
execute the command
cat ~kelliher/pub/cs220/testStack.s project.s > testStack.s(Notes: Change
project.s to the appropriate file name for
you. If your routines are already in the file testStack.s, use
the mv command to rename your routines file.)
testStack.s in an editor and perform any editing that
might be necessary.
spim -file testStack.sHopefully, all tests will pass. If not, using the error message printed and the test program itself (it's pretty well commented), fix the broken routine. (Note: Two of the tests require un-commenting and then re-commenting three lines.)