Assignment 5, due Sept 29
Part of
the homework for 22C:40, Fall 2003
|
Do problem x from Chapter 6 of the notes. Turn in a cleanly commented and legible assembly listing of your code, with a title saying "22C:40 MP2 Solved by ..." with your name substituted for the elipsis. If you run it for f(6) you should get this output:
((((((1)(0)1)(1)2)((1)(0)1)3)(((1)(0)1)(1)2)5)((((1)(0)1)(1)2)((1)(0)1)3)8)
Note again that once you turn in your listing, you should not touch your source file (except to make a copy of it to another file). You can use the command chmod mp2.a -w to make the file mp2.a read only, protecting it from being modified in order to preserve the evidence that you completed the assignment on time.
Incorporatie solutions to problems s, t and u from the notes into your code.