Professor Simonson

How Computers Work

CS 195

Quiz 3 - 20 points

This is due by Thursday, midnight April 24.   You should hand in your dcrawings directly to the TA, or email a scanned or digital version.
 
 

1. (5 points) You are designing a machine language that has 50 commands (op codes), 6 address modes, and where each instruction is stored in 32 bits.  How many bits can be used for memory (parameter) references?  How far away can a memory value be from an instruction that references it?
 

2. (15 points) Draw a formula and a circuit to implement the full adder we discussed in class.  How many gates are in your circuit.  If each gate takes 1 nanosecond to get through, how long does it take to the full adder to send out its answer and carry?  Calculate carefully.
 
 
 
 

back
 


shai@stonehill.edu