Mini-Quiz #1

Name __SOLUTION__

Question 1
Based on the simple computer organization shown in class, label the following diagram with the four components and briefly explain each component’s function.

Main Memory: stores instructions and data
Program Counter: Points to next instruction to be executed
Registers: Temp storage for bits, fast
Functional units: Manipulates the bits, ALU

Question 2
a)  Express the value 3010 as an 8-bit binary number.  Show all bits.

00011110

b)  The following binary string is an R-type MIPS instruction:

0000 0001 0000 1110 0010 1001 0010 0010

OP	  RS	   RT	   RD 	   shamt   funct
000000  01000  01110  00101  00100  100010

What 3 registers does this instruction reference?

 Registers used: 8, 14, 5