dangish
- 72
- 0
Convert the binary number 11001100 from 8-bit 2’s complement notation to decimal. Remember to specify the sign of the decimal number.
attampt: because the MSB is 1, the number is negative, therefore invert all the numbers getting:
00110011
now convert that to decimal which is, 2^0 + 2^1 + 2^4 + 2^5 = 51
then add 1, 51+1 = 52
and make that negative getting -52. Is this correct?
attampt: because the MSB is 1, the number is negative, therefore invert all the numbers getting:
00110011
now convert that to decimal which is, 2^0 + 2^1 + 2^4 + 2^5 = 51
then add 1, 51+1 = 52
and make that negative getting -52. Is this correct?