Lantronix XPort XChip - User Guide - Page 85
A: Binary to Hexadecimal Conversions, Converting Binary to Hexadecimal, Conversion Table
View all Lantronix XPort manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 85 highlights
A: Binary to Hexadecimal Conversions Many of the unit's configuration procedures require assembling a series of options (represented as bits) into a complete command (represented as a byte). Convert the resulting binary value to a hexadecimal representation. Converting Binary to Hexadecimal Following are two simple ways to convert binary numbers to hexadecimals. Conversion Table Hexadecimal digits have values ranging from 0 to F, which are represented as 0-9, A (for 10), B (for 11), etc. To convert a binary value (for example, 0100 1100) to a hexadecimal representation, the upper and lower four bits are treated separately, resulting in a two-digit hexadecimal number (in this case, 4C). Use the following table to convert values from binary to hexadecimal. Decimal 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Binary 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Hex 0 1 2 3 4 5 6 7 8 9 A B C D E F Scientific Calculator Another simple way to convert binary to hexadecimals is to use a scientific calculator, such as the one available on Windows' operating systems. For example: 1. On the Windows' Start menu, click ProgramsAccessoriesCalculator. 2. On the View menu, select Scientific. The scientific calculator displays. 3. Select Bin (Binary), and type the number to convert. XPort User Guide 85