Question

Q3. The adder below adds two 16-bit numbers X and Y (i.e. S-X+Y), where X-Xi5Xi4...XiXo and Y-Y15Y14...YiYo. Assume we are us

0 0
Add a comment Improve this question Transcribed image text
Answer #1

For performing the operation, X-Y, the 2's complement of Y is taken and added to X.

The 2's complement of a binary number Q is found by taking the complement of every bit, and adding one to the whole number.

So, \bar{Q} = Q + 1

Therefore, X - Y = X + \bar{Y} + 1

So for subraction to be performed, all the bits in Y have to be complemented, and an additional 1 has to be added. This can be done by taking the carry in, C0 = 1.

Since P = 1 implies subtraction, Yi has to be complemented if P = 1. This can be done using an XOR gate with inputs Yi and P.

The resultant adder is given below:

15 15 ar ry out trn -tn 15 + FA FA Carry In carry t 15

Add a comment
Know the answer?
Add Answer to:
Q3. The adder below adds two 16-bit numbers X and Y (i.e. S-X+Y), where X-Xi5Xi4...XiXo and...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT