101000001011
101000001011 is a 12-bit binary number. In binary notation it can be interpreted in several common ways, with the most straightforward being as an unsigned value. As an unsigned 12-bit number, 101000001011 equals 2571 in decimal and 0xA0B in hexadecimal. This value is obtained by summing the powers of two corresponding to the set bits: 2^11 + 2^9 + 2^3 + 2^1 + 2^0 = 2048 + 512 + 8 + 2 + 1 = 2571.
If interpreted as a signed value in 12-bit two's complement representation, the most-significant bit indicates a
In hexadecimal, the pattern groups neatly as 1010 0000 1011, which corresponds to the value A0B. 12-bit
See also: binary number, two's complement, hexadecimal notation.
---