Difference between revisions of "CSC270 Homework 8"

From dftwiki3
Jump to: navigation, search
(Part II)
(Part II)
 
Line 11: Line 11:
 
Create an endless loop around your program (add a jmp instruction at the end).
 
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.
+
Compute the number of cycles the loop takes.  Compute the average CPI ([http://en.wikipedia.org/wiki/Clock_cycle 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?
+
What is the average MIPS rating of the 6811 ([http://en.wikipedia.org/wiki/Million_instructions_per_second#Million_instructions_per_second Million of instructions per second]), assuming that the operating speed of the processor is 2MHz?

Latest revision as of 12:38, 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?