0,
1, 2, 3, 4, 5, 6, 7, 8, 9
A, B, C, D, E, F
Il y a 24 = 16 mots de 4 bits, qui
correspondent un par un aux 16 chiffres hexadécimaux.
0 = 0 0 0
0
4 = 0 1 0
0
8 = 1 0 0
0
C = 1 1 0 0
1 = 0 0 0
1
5 = 0 1 0
1
9 = 1 0 0
1
D = 1 1 0 1
2 = 0 0 1
0
6 = 0 1 1
0
A = 1 0 1
0
E = 1 1 1 0
3 = 0 0 1
1
7 = 0 1 1
1
B = 1 0 1
1
F = 1 1 1 1
E0A48B
→
1110
0000 1010 0100 1000 1011 =
111000001010010010001011
1110110001
(10 bits) complété à 001110110001 =
0011
1011 0001
→ 3B1
1110110001
(= 945) et
la suite des chiffres traduits en binaire : 1 0 0
1 0
1 0
0 0
1 0
1 ?0 = 000, 1 = 001, 2 = 010, 3 = 011, 4 = 100, 5 = 101, 6 = 110, 7 = 111
1110110001
(10 bits) complété à 001110110001 =
001 110 110 001
→ 1661
flip.gif
00000000 47 49 46 38 39 61 1e 00 1e 00 f7 ff 00 ff ff
ff |GIF89a..........|
00000010 ff ff cc ff ff 99 ff ff 66 ff ff 33 ff ff 00 ff
|........f..3....|
00000020 cc ff ff cc cc ff cc 99 ff cc 66 ff cc 33 ff cc
|..........f..3..|
00000030 00 ff 99 ff ff 99 cc ff 99 99 ff 99 66 ff 99 33
|............f..3|
00000040 ff 99 00 ff 66 ff ff 66 cc ff 66 99 ff 66 66 ff
|....f..f..f..ff.|
00000050 66 33 ff 66 00 ff 33 ff ff 33 cc ff 33 99 ff 33
|f3.f..3..3..3..3|
00000060 66 ff 33 33 ff 33 00 ff 00 ff ff 00 cc ff 00 99
|f.33.3..........|
00000070 ff 00 66 ff 00 33 ff 00 00 cc ff ff cc ff cc cc
|..f..3..........|
00000080
4749463839611e001e00f7ff00ffffffffffccffff99ffff66ffff33ffff00ff
ccffffccccffcc99ffcc66ffcc33ffcc00ff99ffff99ccff9999ff9966ff9933
ff9900ff66ffff66ccff6699ff6666ff6633ff6600ff33ffff33ccff3399ff33
66ff3333ff3300ff00ffff00ccff0099ff0066ff0033ff0000ccffffccffcccc