91.305 home
 
syllabus html pdf
assignment 1 html pdf
rev'd short syll. txt
lecture 3 notes txt
data sheets html
uml305dev html pdf
parts list pdf
assembly html pdf
assignment 2a html pdf
assignment 2b html pdf
assignment 3
  main html pdf
  java setup html
  files zip
bootloader html
assignment 4 html pdf
assignment 5
  main html pdf
  files zip
  reading pdf
assignment 6 html pdf
invokevirtual pdf
assignment 7 html pdf
IA-32 manual pdf
assignment 8 html pdf
assignment 9 pdf
review html pdf
resources data IKonboard software



ASSIGNMENT 8: PIPELINING, CACHES, BRANCH PREDICTION

due Wed, Nov 27






Problem 1.

On page 258 of the text, Tanenbaum shows how the microcode for the swap instruction is rewritten into a series of microsteps, enabling it to run on the pipelined Mic-3 machine.

Based the discussion in the text and this example, create a microstepped table for the iadd instruction. Use the Mic-2 control store definition as a source (pages 254–255).


Problem 2.

Per above, create the microstep table for the istore instruction.


Problem 3.

Based on your two designs, illustrate how the following IJVM code works its way through the Mic-3:

iadd
istore 0

How many cycles does this take? Based on the discussion of the speed of the pipelined Mic-3 vs. the Mic-2, how much faster will this two-instruction sequence be?


Problem 4.

Answer question 26 on page 301.


Problem 5.


Answer question 30 on page 302.



Last modified: Wednesday, 20-Nov-2002 11:51:26 EST by