CSC270 Homework 8

From dftwiki3
Revision as of 12:36, 1 April 2009 by Thiebaut (talk | contribs) (Part II)
Jump to: navigation, search

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?