This preview shows page 1. Sign up to view the full content.
Unformatted text preview: (c) Do the following in 1s complement arithmetic: 98  39. (d) Do the following in 2s complement arithmetic: 39 + 98. (e) Do the following in 2s complement arithmetic: 39  98. (f) Do the following in 2s complement arithmetic: 98  39. 4. (20 points) Consider (734) 8 (a base 8 number). Express it in base 2. Express it in base 16. 5. (10 points) Add the following base 16 numbers A8C34 and 1234F . 6. (30 points) For this problem AND, OR, and XOR gates may have unbounded fanin (and fanout). Recall that a FULL ADDER (FA) takes three bits as inputs and has two bits as output. The output is the sum of the three inputs. (a) Assume you could only use AND, OR and NOT gates. Draw a circuit for a FA. Try to use a small number of gates. How many gates does it use? (b) Assume you could only use AND, OR, NOT, and XOR gates. Draw a circuit for a FA. Try to use a small number of gates. How many gates does it use? 1...
View
Full
Document
This note was uploaded on 12/04/2011 for the course CMSC 250 taught by Professor Staff during the Spring '08 term at Maryland.
 Spring '08
 staff

Click to edit the document details