April 2000
LD201 : LOGIC DESIGN

QUESTION 4

Total Marks: 15 Marks

Click here to access other questions

Click to access
SUGGESTED SOLUTIONS
for Question 4

(a) Describe two ways of using an n-bit two’s-complement parallel adder to perform n-bit subtraction. [3 marks]

(b) Design a circuit to perform addition and subtraction of 3-bit two’s-complement numbers. Used XOR gates, and have a control input A/S’. Label your circuit design clearly. [4 marks]

(c) Redesign the above circuit to use XNOR gates instead of XOR gates. [4 marks]

(d) Explain how to detect overflow in addition and subtraction of two’s-complement numbers. In each, give an expression characterizing overflow in terms of the signs SA, SB of the arguments, the sign SC of the result, and the carry out C. [4 marks]