Tabla y fórmula de rangos para 4 bits Tabla 4 bits Entero sin signo 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 a 15 Entero sin signo 0 <= x <= (2^n) -1 0 <= x <= (2^4) -1 0 <= x <= (16) -1 0 <= x <= 15 0 a 15 Comp. a 2 1000 0111 0110 0101 0100 0011 0010 0001 0 +1 +2 +3 +4 +5 +6 +7 -8 -7 -6 -5 -4 -3 -2 -1 -8 a 7 Comp. a 1 0111 0110 0101 0100 0011 0010 0001 0000 +0 +1 +2 +3 +4 +5 +6 +7 -7 -6 -5 -4 -3 -2 -1 -0 -7 a 7 Magnitud y Signo +0 +1 +2 +3 +4 +5 +6 +7 -0 -1 -2 -3 -4 -5 -6 -7 -7 a 7 Complemento a 2 -(2^(n-1)) <= x <= (2^(n-1))-1 -(2^(4-1)) <= x <= (2^(4-1))-1 -(2^(3)) <= x <= (2^(3))-1 -(8) <= x <= (8)-1 -8 <= x <= 7 -8 a 7 Complemento a 1 y Magnitud y Signo -((2^(n-1))-1) <= x <= (2^(n-1))-1 -((2^(4-1))-1) <= x <= (2^(4-1))-1 -((2^(3))-1) <= x <= (2^(3))-1 -((8)-1) <= x <= (8)-1 -(7) <= x <= 7 -7 <= x <= 7 -7 a 7