Custom Search
|
|
Octal to Hex You will probably not run into many occasions that call for the conversion of octal numbers to hex. Should the need arise, conversion is a two-step procedure. Convert the octal number to binary; then convert the binary number to hex. The steps to convert 53.78 to hex are shown below:
Regroup the binary digits into groups of four and add zeros where needed to complete groups; then convert the binary to hex.
Solution: 53.78 equals 2B.E16 Convert the following numbers to hex: Q.83 748. HEX CONVERSION The procedures for converting hex numbers to binary and octal are the reverse of the binary and octal conversions to hex. Hex to Binary To convert a hex number to binary, set up the number in the block format you used in earlier conversions. Below each hex digit, write the four-digit binary equivalent. Observe the following example: Convert ABC16 to binary:
Solution: ABC16 = 1010101111002 Hex to Octal Just like the conversion of octal to hex, conversion of hex to octal is a two-step procedure. First, convert the hex number to binary; and second, convert the binary number to octal. Let's use the same example we used above in the hex to binary conversion and convert it to octal:
Convert these base 16 numbers to their equivalent base 2 and base 8 numbers: |