Binary Codes

Number Decimal
fraction
Two's 
complement
One's
complement
Sign +
magnitude
Offset
binary
+7
+6
+5
+4
+3
+2
+1
+7/8
+6/8
+5/8
+4/8
+3/8
+2/8
+1/8
0111
0110
0101
0100
0011
0010
0001
0111
0110
0101
0100
0011
0010
0001
0111
0110
0101
0100
0011
0010
0001
1111
1110
1101
1100
1011
1010
1001
0
0
0+
0-
0000
0000)
0000
1111
0000
1000
1000
1000)
-1
-2
-3
-4
-5
-6
-7
-8
-1/8
-2/8
-3/8
-4/8
-5/8
-6/8
-7/8
-8/8
1111
1110
1101
1100
1011
1010
1001
1000)
1110
1101
1100
1011
1010
1001
1000
1001
1010
1011
1100
1101
1110
1111
0111
0110
0101
0100
0011
0010
0001
0000)
Hosted by www.Geocities.ws

1