1. Is this a positive or a negative number?
1000 1111 is the binary representation of a negative integer, on 8 bits.
In a signed binary, the first bit (the leftmost) is reserved for the sign,
1 = negative, 0 = positive. This bit does not count when calculating the absolute value.
2. Construct the unsigned binary number.
Exclude the first bit (the leftmost), that is reserved for the sign:
1000 1111 = 000 1111
3. Map the unsigned binary number's digits versus the corresponding powers of 2 that their place value represent:
26
0 25
0 24
0 23
1 22
1 21
1 20
1
1000 1111(2) = -15(10)
The number 1000 1111(2) converted from a signed binary (base two) and written as an integer in decimal system (base ten):
1000 1111(2) = -15(10)
Spaces were used to group digits: for binary, by 4, for decimal, by 3.