Question

Compute the sign extension into 16-bits of +20 and -123 represented in 2’s complement in 8-bits....

Compute the sign extension into 16-bits of +20 and -123 represented in 2’s complement in 8-bits. Prove that when an 8-bit representation is sign-extended into 16 bits by replicating the sign bit 8 times in the more significant end, you get the same value both for a negative and non-negative X using X=- xn-12n-1 + x n-22n-2+…+ x222 + x121+ x0 20.

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

iplepe 00010100 s =-)23 Repose 12 3.elas 111})))1.1 ODOOİDI

Add a comment
Know the answer?
Add Answer to:
Compute the sign extension into 16-bits of +20 and -123 represented in 2’s complement in 8-bits....
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
  • Q1) Convert the following negative decimal numbers to 8 bit binary using the 2’s complement (show...

    Q1) Convert the following negative decimal numbers to 8 bit binary using the 2’s complement (show the steps): a) -39 b) -127 Q2) Solve the following subtraction problems using 2's complement representation. (Show the steps using 8-bits) a) 19 – 87 b) 89 – 5 Q3) Convert the following numbers into scientific notation: (Note: to show ten raised to the power of n, you can type as 10^n) a) 654.345 b) 0.000000324235 c) 25600000000000 Q4) Convert the following numbers out...

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