Question: Exercise 1. We have a 5-level computer and would like to execute a 50,000 instruction program made up of level-5 instructions. The following table gives

 Exercise 1. We have a 5-level computer and would like to

Exercise 1. We have a 5-level computer and would like to execute a 50,000 instruction program made up of level-5 instructions. The following table gives the relationship between the numbers of instructions at different levels. Instruction execution times at level 1 differ based on the type of instruction (i.e register-to-register, register-to-memory etc.) The instructions at level 1 are comprised of 3 types, A, B and C. In a typical program like the one being executed, 20 percent of the instructions are of type A, 40 percent of the instructions are of type B and the remaining are of type C. Each type A instruction takes 30 nsec., type B instruction takes 15nsec. and type C instruction takes 20nsec. to execute. Find the a) Number of level 1 instructions for each level 5 instruction. b) Average instruction execution time at level 1 . c) Average instruction execution time for each level 3 instruction. d) Program completion time. e) Ratio of the new program completion time to that of the old if an improvement is made to the translation method from level 4 to level 3 such that each instruction at level 4 is now translated to 3 instructions at level 3 (instead of 5)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related General Management Questions!