Below is a table of some simple conversions. To convert any number to base 2 (binary) or 16 (hexadecimal) go to http://courses.cs.vt.edu/~cs1104/number_conversion/convtop.html
Decimal |
Binary |
Hexadecimal |
---|---|---|
0 |
0 |
0h |
1 |
1 |
1h |
2 |
10 |
2h |
3 |
11 |
3h |
4 |
100 |
4h |
5 |
101 |
5h |
6 |
110 |
6h |
7 |
111 |
7h |
8 |
1000 |
8h |
9 |
1001 |
9h |
10 |
1010 |
Ah |
11 |
1011 |
Bh |
12 |
1100 |
Ch |
13 |
1101 |
Dh |
14 |
1110 |
Eh |
15 |
1111 |
Fh |
16 |
10000 |
10h |
100 |
1100100 |
64h |
1000 |
1111101000 |
3E8h |
Created October 23, 2011