Home

01111111

01111111 is an eight-bit binary numeral. When interpreted as an unsigned binary value, it equals 127. In two's complement representation, which is standard for 8-bit integers in many systems, 01111111 is the maximum positive value, while 10000000 represents −128. The pattern consists of a leading zero and seven trailing ones, i.e., it equals 2^7 − 1.

In ASCII and related 7-bit encodings, the hexadecimal equivalent 0x7F corresponds to the DEL (delete) control

Practical uses of this bit pattern include bit masking and value boundaries. ANDing a byte with 0x7F

character.
It
is
a
nonprinting
character
historically
used
to
erase
previously
printed
or
stored
characters
on
devices
such
as
teletypes
and
punched
tape.
In
modern
text
processing,
DEL
is
typically
not
displayed
as
a
printable
symbol.
clears
the
most
significant
bit,
leaving
the
lower
seven
bits
intact.
The
value
also
marks
the
upper
limit
of
7-bit
ASCII;
many
systems
treat
the
high
bit
as
non-significant
to
maintain
compatibility
with
seven-bit
character
sets.
In
hexadecimal,
the
value
is
commonly
represented
as
0x7F,
corresponding
to
the
decimal
127.