Assignment 9, due April 5
Part of
the homework for 22C:122/55:132, Spring 2004
|
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 on Fridays at the start of class, and unless there is what insurance companies call "an act of God", the only exceptions to this rule will be by advance arrangement.
a) register operands?
b) memory operands?
c) branches (assume R0 is the PC and is not handled specially).
d) self modifying code.
For the last, consider the case where an instruction stores the data D in the immediately following word. Does D get executed (no delay slots), or does the previous value of that word get executed (one or more delay slots)? If the latter, consider the case where an instruction stores the data D in the word following the next instruction. Does D get executed (no more than one delay slot) or does the previous value get executed (at least two delay slots)?