Determine what this 16bit twos complement number represents
Determine what this 16-bit two\'s complement number represents (please provide the decimal equivalent) 1111 1110 1100 1000
Solution
Answer:
1111 = -7
First left most 1 represents sign, so negative for 1 , rest 111 is 7 in binary representation
1110 = -6
First left most 1 represents negative sign , 110 is 6 in binary representation.
1100 = -4
First left most 1 is negative and 100 is 4 in binary representation.
1000 = 8
There is no 1 after the left most 1 so t is 8 only.
