[Page 1239 (continued)]D.3. Converting Octal and Hexadecimal Numbers to Binary Numbers
In the previous section, we saw how to convert binary numbers to their octal and hexadecimal equivalents by forming groups of binary digits and simply rewriting them as their equivalent octal digit values or hexadecimal digit values. This process may be used in reverse to produce the binary equivalent of a given octal or hexadecimal number.
For example, the octal number 653 is converted to binary simply by writing the 6 as its 3digit binary equivalent 110, the 5 as its 3digit binary equivalent 101 and the 3 as its 3digit binary equivalent 011 to form the 9digit binary number 110101011.
The hexadecimal number FAD5 is converted to binary simply by writing the F as its 4digit binary equivalent 1111, the A as its 4digit binary equivalent 1010, the D as its 4digit binary equivalent 1101 and the 5 as its 4digit binary equivalent 0101 to form the 16digit 1111101011010101.
