Question

5) Convert the following values as noted from 8 bit to 16 bits (show both values...

5) Convert the following values as noted from 8 bit to 16 bits (show both values

a. (Signed Magnitude) +8 b. (2s complement) +8

c. (signed magnitude) -8 d. (2s complement) -8

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

5)

a.

In 8 bit representation,

the signed magnitude representation of the decimal value +8 is represented as :

0 0 0 0 1 0 0 0

In 16 bit representation,

the signed magnitude representation of the decimal value +8 is represented as :

0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0

b.

2's complement of a positive number is same as the binary value of a positive number.

In 8 bit representation,

the 2's complement representation of the decimal value +8 is represented as :

0 0 0 0 1 0 0 0

In 16 bit representation,

the 2's complement representation of the decimal value +8 is represented as :

0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0

c.

In 8 bit representation,

the signed magnitude representation of the decimal value -8 is represented as :

1 0 0 0 1 0 0 0

In 16 bit representation,

the signed magnitude representation of the decimal value -8 is represented as :

1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0

d.

In 8 bit representation,

sign extension method is applied and the 2's complement representation of the decimal value -8 is represented as :

1 1 1 1 1 0 0 0

In 16 bit representation,

sign extension method is applied and the 2's complement representation of the decimal value -8 is represented as :

1 1 1 1 1 1 1 1 1 1 1 1 1 0 0 0
Add a comment
Know the answer?
Add Answer to:
5) Convert the following values as noted from 8 bit to 16 bits (show both values...
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