Home

0b110101001100

0b110101001100 is a binary numeric literal. The prefix 0b is used in several programming languages to indicate that the digits following it are written in base 2.

The bit string 110101001100 consists of 12 bits. As an unsigned integer, its decimal value is 3404.

If interpreted as a signed value in a fixed 12-bit two's complement representation, the most significant bit

In computing, binary literals like this are used for bitwise operations, masks, and low-level data representation.

In
hexadecimal,
it
is
0xD4C.
is
1,
so
the
value
would
be
-692.
In
most
modern
environments,
the
same
digits
may
be
extended
to
a
wider
word,
in
which
case
the
value
remains
3404
when
sign
extension
applies.
The
12-bit
pattern
could
encode
a
flags
set
or
a
small
data
field
in
hardware
registers,
protocols,
or
compact
file
formats.