Home

0b11110101

0b11110101 is an eight-bit binary literal commonly used in programming and digital electronics to denote the bit pattern 11110101. The prefix 0b signals that the digits that follow are in base 2. The value can be interpreted in multiple ways depending on width and signedness.

When interpreted as an unsigned 8-bit value, 0b11110101 equals decimal 245 and hex 0xF5. In two's complement,

Bit pattern details: from most significant to least significant bit, the bits are 1 1 1 1

Character encoding: in ISO/IEC 8859-1 (Latin-1) and Unicode, the byte 0xF5 maps to the character 'õ' (U+00F5).

In programming, binary literals like 0b11110101 appear in languages that support binary notation, such as Python,

which
is
the
standard
for
signed
integers
on
most
modern
hardware,
the
same
pattern
represents
-11.
0
1
0
1.
This
means
bits
7,
6,
5,
4,
2,
and
0
are
set,
while
bits
3
and
1
are
clear.
Such
a
pattern
can
serve
as
a
bit
mask
or
part
of
a
register
value
in
low-level
programming
or
hardware
interfacing.
In
UTF-8,
0xF5
as
a
standalone
byte
is
not
a
valid
UTF-8
character
and
would
appear
only
as
part
of
a
multi-byte
sequence.
Java,
and
C++.
They
are
used
in
low-level
code,
bitwise
operations,
and
hardware
interfacing.