Integer Representations Write the hexadecimal representation

Integer Representations. Write the hexadecimal representation of the word 1111 1101 1011 1001 0111 1010 0011 0001_two For the word 0000 0000 0000 0000 0000 0000 0000 0011two what decimal (base 10) number does it represent, assuming that it is an unsigned integer? For the word 0000 0000 0000 0000 0000 0000 0000 0011two what decimal (base 10) number does it represent, assuming that it is a two\'s complement integer? For the word 1111 1111 1111 1111 1111 1111 1111 1111two what decimal (base 10) number does it represent, assuming that it is a two\'s complement integer?

Solution

1. 1111 1101 1011 1001 0111 1010 0011 00012

= F D B 9 7 A 3 1

2. 0000 0000 0000 0000 0000 0000 0000 00112

= 20 + 21 = 1 + 2 = 310.

3. 0000 0000 0000 0000 0000 0000 0000 00112

1\'s complement of this number is: 1111 1111 1111 1111 1111 1111 1111 1100.

And adding 1 to this will make it 2\'s complement of the original number.

Therefore, 2\'s complement of the original number is: 1111 1111 1111 1111 1111 1111 1111 1101.

As, the Most Significant Bit is 1, which means, its a negative number.

Therefore, the number is: 20 + 22 + 23 + 24 + ... + 230 = -214748364510.

4. 1111 1111 1111 1111 1111 1111 1111 11112

1\'s complement of this number is: 0000 0000 0000 0000 0000 0000 0000 0000.

And adding 1 to this will make it 2\'s complement of the original number.

Therefore, 2\'s complement of the original number is: 0000 0000 0000 0000 0000 0000 0000 0001.

As, the Most Significant Bit is 0, which means, its a positive number.

Therefore, the number is: 20  = 110.

 Integer Representations. Write the hexadecimal representation of the word 1111 1101 1011 1001 0111 1010 0011 0001_two For the word 0000 0000 0000 0000 0000 000

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site