Bit and Byte

 

Bit:             Dual:             Dez:         Hex:

0                 0000 0000                     0               0

1                 1000 0000                 128             80

2                 1100 0000                 192             C0

3                 1110 0000                 224             E0

4                 1111 0000                 240             F0

5                 1111 1000                 248             F8

6                 1111 1100                 252             FC

7                 1111 1110                 254             FE

8                 1111 1111                 255             FF

 

 

Berechnung nach 2 hoch x:

7 6 5 4 3 2 1 0
2 2 2 2 2 2 2 2
128 64 32 16 8 4 2 1

= 128+64+32+16+8+4+2+1 = 255 = FF

Bsp:

    1    1    1    1     0    0    0    0         = 128+64+32+16 = 240 = F0

 

 


 

Copyright ©     www.datahelp.de

Modifizierung oder Weitergabe an Dritte nur mit Einverständnis des Autors gestattet !