To convert hexadecimal to binary we have to transform input value in base 16 to base-2 system.
The following is a conversion chart to help you compare values in base 16 with base 2:
Value in Base 16 | Base 2 |
---|---|
0 | 0 |
1 | 1 |
2 | 10 |
3 | 11 |
4 | 100 |
5 | 101 |
6 | 110 |
7 | 111 |
8 | 1000 |
9 | 1001 |
a | 1010 |
b | 1011 |
c | 1100 |
d | 1101 |
e | 1110 |
f | 1111 |