This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: type Frequency Clock cycle count ALU 48% 1 Loads 24% 2 Stores 12% 2 Branch 16% 1 Problem 6 (20pts) Problem 2.1. in PH, with the following modification: Use the dynamic instructin mix of problem 2 above. Problem 7 (10pts). Problem 2.2 in PH, with the following modification: Use the dynamic instructin mix of problem 2 above. Problem 8 (30pts) Problem 2.3 in PH, with the following modification. Answer the problem for the following code sequence (instead of the one given in the book): B=A+B C=B-C D=C+B For the accumulator machine, use instructions such as loada X, storea X, Adda X, Suba X. For the stack machine, use POP X, PUSH X, ADD, and SUB. Note that when the stack contains an input operand for any of these instructions, the operands are removed from the stack. For the load/store machine, use DLX or MIPS. Problem 9 (20pts). Problem 2.8 in PH....
View Full Document
- Spring '09