Docsity

CSCE 230 Computer Organization - Spring 2006 Final Exam, Exams of Computer Architecture and Organization

Toggle sidebar
bg1
CSCE 230 Computer Organization
Spring Semester – May 4, 2006
Final Exam: Do 3 type X, 2 type Y, 1 type Z, and 4 type W exercises – 10 points
each
Name ____________________________
1. (X) Demonstrate the idea of Booth’s Algorithm using the following unsigned
hexadecimal multiplication. (Rewrite it in the spirit of Booth and actually do the
multiply! Do NOT convert to binary unless you just want to double-check your
solution.) Would the technique be applicable with digits other than 0 and F?
Explain.
32C18
* FF000FFF000
2. (X) Carry-Save units typically have inputs for 2n-1 addends. Explain why this is
true. Design an optimal Carry-Save adder circuitry for 8 bit wide multiplication
that uses 7- input carry-save units along with perhaps the usual 3-input units and,
of course, the final stage being a regular 2-input adder.
pf3
pf4
pf5

Partial preview of the text

Download CSCE 230 Computer Organization - Spring 2006 Final Exam and more Exams Computer Architecture and Organization in PDF only on Docsity!

CSCE 230 Computer Organization Spring Semester – May 4, 2006 Final Exam: Do 3 type X, 2 type Y, 1 type Z, and 4 type W exercises – 10 points each Name ____________________________

  1. (X) Demonstrate the idea of Booth’s Algorithm using the following unsigned hexadecimal multiplication. (Rewrite it in the spirit of Booth and actually do the multiply! Do NOT convert to binary unless you just want to double-check your solution.) Would the technique be applicable with digits other than 0 and F? Explain. 32C
  • FF000FFF
  1. (X) Carry-Save units typically have inputs for 2n-1 addends. Explain why this is true. Design an optimal Carry-Save adder circuitry for 8 bit wide multiplication that uses 7- input carry-save units along with perhaps the usual 3-input units and, of course, the final stage being a regular 2-input adder.
  1. (X) Perform the following operations, making certain that the result is properly rounded and normalized (just like the operands). Assume unsigned binary notation for everything but the exponent part! 1.101011 * 2^2 1.001101 * 2^8 1.100000 * 2-
  • 1.100101 * 2-1^ - 1.001011 * 2^8 * 1.100000 * 2^8
  1. (X) Complete the following table, showing the decimal values assuming the binary numbers are unsigned, 2’s comp, biased (also called excess), and hexadecimal. The first person to burst out in laughter for at least 15 seconds gets 2 bonus points. The bias should be 2n-1, where n is the number of digits in the binary string. Binary Unsigned 2’s Comp. Biased Hex 0001 1111 1001 01101100
  2. (X) Demonstrate non-restoring integer division by dividing 111,1111,1000 by
    1. Assume both these values are positive.
  1. (Y) Consider modified load and store word, and increment/decrement commands in which there is an additional 2 bit field that indicates the desired level of indirection. For the load/store, a 00 means the data in the address field is immediate (is sign extended and placed directly in the destination if instruction is load); a 01 means that this is a normal load or store; a 10 means that the real address to load/store can be found inside memory at the given address; and a 11 means yet another level of indirection. The first person to break out in uncontrollable sobbing gets 2 bonus points. For the increment/decrement commands, 00 indicates the index register (while memory is totally untouched); 01, 10, 11 operate similarly to the load/store). a. Sketch memory and registers and demonstrate how each of these options may work. b. Discuss and demonstrate how to use these new commands to access arrays.
  1. (Z) Implement the modified indirect load or store word command (your choice!) on the multi-cycle machine from the text.
  2. (Z) Implement the new increment or decrement command on the multi-cycle machine from the text.
  3. (W) What might be the steps to send a single character to the printer (a) using polling? (b) Using interrupts? The first person to get up and exclaim loudly how much he/she enjoyed the class gets 2 bonus points. Assume there is a memory mapped data register and a status register that indicates ready and interrupt enable.
  4. (W) Compare/contrast data transfer on synchronous and asynchronous busses.
  5. (W) Discuss the concept of handshaking. What signals are needed? How does the timing work?