Consider the 32-bit binary number (11000001010010000000000000000000). Convert this binary to its equivalent decimal, assuming if
Question: It is a sign-magnitude number.
given 32 bit number is 11000001010010000000000000000000 and it is a sign magnitude number.
Therefore the most significant bit indicates the sign, if it is '0' then it is a positive number otherwise if it is '1' then it is a negative number.
We have the M.S.B is 1, therefore the given number is negative number.
.
Removing all zero parts
= 1,073,741,824 + 16,777,216 + 4,194,304 + 524,288 = (1,095,237,632)10.
'1' indicates negative number, therefore the decimal equivalent is -1,095,237,632.
Get Answers For Free
Most questions answered within 1 hours.