Deborah R. Fowler
Binary and Hexidecimal Numbers
Posted on March 11 2015
Binary numbers are represented with 0/1 and positional significance with a base of 2.
Hexadecimal are represented as positional with a base 16, 0 to 9 and A-F.
Hexadecimal numbers cn be converted into binary equivalents.
0x00 the 0x indicates it is storing a hex value (0 to 15) so in this case 0000
Recall:
8 |
4 |
2 |
1 |
Equivalent |
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 |
These can be useful for bitmap storage of images for example.