assignment 2

assignment 2 - 1. Consider the operation of a machine with...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
1. Consider the operation of a machine with the data path of figure 2-2. Suppose that loading the ALU input registers takes 5 nsec, running the ALU takes 10 nsec, and storing the result back in the register scratchpad takes 5 nsec. What is the maximum number of MIPS this machine is capable of in the absence of pipelining? 5+10+5=20 nsec . (10^9/20) /10^6 = 50 MIPS 2. What is the purpose of step 2 in the list of Sec. 2.1.2? What would happen if this step were omitted? The purpose of step 2 is holding the address of the memory being executed. If that step was not there then the program would have nowhere to hold memory address of the current instruction being executed 3. On computer 1, all instructions take 10 nsec to execute. On computer 2, they all take 5 nsec to execute. Can you say for certain that computer 2 is faster? Discuss. From the information given you can’t say that computer 2 is faster for sure. The information did not state that computer 1 and 2 are using the same processor. If
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/07/2010 for the course CSC 873569 taught by Professor Roberts during the Spring '10 term at ASU.

Page1 / 2

assignment 2 - 1. Consider the operation of a machine with...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online