Unsigned and two's complement integers
x

8-bit integers and place values

8-bit integers and place values

Comparison of 8-bit unsigned and two's-complement place values and ranges, with 1111 1111 shown as 255 unsigned and -1 in two's complement

An 8-bit integer uses 8 bits, so there are 28=2562^8 = 25628=256 possible bit patterns. In an unsigned value, every bit contributes to size, so the range is 0 to 255.

Unsigned and two's complement integers Lesson

  1. GCSE
  2. /Computer Science
  3. /Unsigned and two's complement integers