Assignment 12, due Nov Dec 5
Part of
the homework for 22C:60, Fall 2008
|
Remember to write your name on what you turn in! Homework must be turned in on paper and in class!
a) Give the code to throw an exception using this model. (0.5 points)
b) This model is not as universal as the model discussed in the notes. What can the model in the notes do that this exception model cannot. (0.5 points)
a) Consider a machine with both L1 and L2 cache, where the MMU lies between the two, as illustrated in the figure for a complete system in Chapter 14 of the notes. Which cache does this bit turn off? (0.5 points)
b) Why is this bit needed? That is, under what circumstances is it necessary to prevent the cache from accelerating the execution of a LOAD or STORE instruction. (0.5 points)