Question: What are the Levels of Program Code and the two components that translate the program higher levels to lower levels? We have two computers; where


What are the Levels of Program Code and the two components that translate the program higher levels to lower levels? We have two computers; where Computer A has Cycle Time =400p and CPI=1.2; and Computer B has Cycle Time =200p and CPI=2.0, and both have same ISA. Assume that both computers (A \& B) ran the same software program with the exact instruction sequences, i.e. the same number of instructions. a) Which one is faster? b) By how much? Question 3: Alternative compiled code sequences using instructions in classes A, B and C as listed in the below table. 1. What is the number of instructions in sequence 1 ? 2. What is the number of instructions in sequence 2 ? 3. What is the number of clock cycles required to complete all instructions in sequence 1 ? 4. What is the number of clock cycles required to complete all instructions in sequence 2? 5. What is the Weighted average CPI (Average CPI) in sequence 1 ? 6. What is the Weighted average CPI (Average CPI) in sequence 2
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
