Cobra 148 GTL 148 GTL 148 GTL Manual de servicio Pagina 10

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 65
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 9
5
Now, we can convert binary to HEX very easily
:-
8 4 2 1
0 0 0 0 = 0
0 0
0 1 = 1
0
0 1 0 = 2
0 0 1 1 = 3
0 1 0
0 = 4
0 1 0 1 = 5
0 1
1 0 = 6
0 1 1 1 = 7
1 0 0 0 = 8
1 0
0 1 = 9
1 0 1 0 = A
1 0 1
1 = B
1 1 0 0 = C
1
1 0 1 = D
1 1
1 0 = E
1 1 1 1 = F
You seldom need to consider decimal numbers at all. Usually you can go directly from
binary to hex.
Get used to splitting the binary number into groups of four, with the Least Significant Bit
(LSB) on the right hand side. If you split it up, then - it doesn't matter how big it is - you
can always convert each group into hex and achieve the complete answer. Consider the
following 11 Bit number
:-
1024 512 256
128 64 32 16 8 4 2 1
0 1 0
0
0 1
1
1 0 1
1
can be written as
8 4 2 1 8 4 2 1 8 4 2 1
0 1 0
0
0 1
1
1 0 1
1
= 2
+ 2 +1 + 8 + 2 +1
= 2 3 B
= 23B HEX
Since this was an 11 Bit number it could not be divided exactly into groups of four but, as
you see, it didn't matter. We ignore any bits missing at the
left hand side, as if they were
zero.
Vista de pagina 9
1 2 ... 5 6 7 8 9 10 11 12 13 14 15 ... 64 65

Comentarios a estos manuales

Sin comentarios