Always, on every assignment, please write your name legibly as it appears
on your University ID and on the class list! All assignments will be due
at the start of class on the day indicated, and unless there is what
insurance companies call "an act of God" - something outside your
control; the only exceptions to this rule will be by advance arrangement.
-
From chapter 6 of the notes, do problems e and h (0.6 each).
-
See problems i and k from chapter 6 of the notees for the inspiration of this
problem. Write a macro that does what JSRS does, using the JUMPS
instruction, plus any other Hawk instructions other than the JSR or JSRS
instructions. Hint: You will have to use some other instruction to load
the return address into the destination register of this macro before it
uses JUMPS to transfer control to the destination. The LEA instruction may
be useful (0.6 points).
-
From chapter 6 of the notes, do problems l and q (0.6 each).