Difference between revisions of "CSC270 Homework 8"
(New page: This homework is due on 4/8/09. =Part I= Please do Homework #7 =Part II =) |
(→Part II) |
||
Line 6: | Line 6: | ||
=Part II = | =Part II = | ||
+ | |||
+ | Take the program you developed in a recent lab that computed the first 5 fibonacci numbers. | ||
+ | |||
+ | Create an endless loop around your program (add a jmp instruction at the end). | ||
+ | |||
+ | Compute the number of cycles the loop takes. Compute the average CPI (Cycles per Instruction), which is a measure of performance of the processor. | ||
+ | |||
+ | What is the average MIPS rating of the 6811 (Million of instructions per second), assuming that the operating speed of the processor is 2MHz? |
Revision as of 12:36, 1 April 2009
This homework is due on 4/8/09.
Part I
Please do Homework #7
Part II
Take the program you developed in a recent lab that computed the first 5 fibonacci numbers.
Create an endless loop around your program (add a jmp instruction at the end).
Compute the number of cycles the loop takes. Compute the average CPI (Cycles per Instruction), which is a measure of performance of the processor.
What is the average MIPS rating of the 6811 (Million of instructions per second), assuming that the operating speed of the processor is 2MHz?