
Site Search
SECTION I-2: Converting from Decimal to Binary
One method of converting from decimal to binary is to divide the decimal number by 2 repeatedly, keeping track of the remainders, This process continues until the quotient becomes zero. The remainders are then written in reverse order to obtain the binary number. This is demonstrated below.
Convert 2510 to Binary |
---|
Quotient | Remainder | |||
---|---|---|---|---|
25/2 | = | 12 | 1 | LSB (Least Significant Bit) |
12/2 | = | 6 | 0 | |
6/2 | = | 3 | 0 | |
3/2 | = | 1 | 1 | |
1/2 | = | 0 | 1 | MSB (Most Significant Bit) |
Therefore, 2510 = 110012 |
---|