CSE 378 - Spring 1999

Machine Organization and Assembly Language Programming

Problem Set #6

Due Wednesday, May 19, 1999
  1. Problem 6.9

  2. Fill out what you can from the information taken from the sources suggested in the problem. Put question marks in the instruction opcode and operand fields that you can't determine.

  3. Problem 6.12
  4. Problem 6.14
  5. Problem 6.19
  6. Problem 6.20
  7. Problem 6.26
  8. Problem 6.31

  9. Assume that memory accesses have become the critical path in the implementation of our architecture, so we have deepened the pipeline from 5 stages to 7:
IF1 IF2 ID EX MEM1 MEM2 WB

Which stages' outputs may need to be forwarded back to which other inputs?  What is the maximum number of stages "back" we will need to forward data (i.e. to the previous stage, 2 stages earlier, etc.)?

Redraw Figure 6.36 (using the instructions provided in the figure) to reflect the execution of these instructions under the new pipeline structure.  Show all cycles until the instruction sequence completes.