Question

3. Use 6 bits (2s complement representation) to solve the following problem. Indicate any overflow. a. Convert decimal +16 a
0 0
Add a comment Improve this question Transcribed image text
Answer #1


3) a) In all form of representation tve nos have got the same representation so +16 can be converted to binary by 2116 à 4o+21 -> binary 2121 210 25 o 10 +21 binary is 10101 in 6 bit (010101 b) 2s Complement of +21 is step-i; Complement all the biNow; +16+(-21) means +16+ (2s complement of 21) = 0 10000 + (+16) 101011 (-21) (-5) Iloil There is no overflow here. and thec) - 16 Step-1; complement all bits of +16. 101111 Step-2; Add I to it. 110000 => -16 Now; (-16)+(-21) is . FI10000 (-16) 010so here we need to take the 2s complement of the result to get the required Answer and put ve sign infront of it. step-1; coso in terms of 6-bit the Answer is (100101) or if we put the overflow bit in the result of 011011 it will be 11011011 whose mI lope it find useful to you. you can Comment in case of any doubter related to this. Thank you. .

Add a comment
Know the answer?
Add Answer to:
3. Use 6 bits (2's complement representation) to solve the following problem. Indicate any overflow. a....
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