Binary Conversion
Binary Conversion
Binary Conversion
01 1 00
1 001 11
0 01 0 1 010 01100001
0
0 110 01
1 10 01
0 01 1
1
00100
1 1 0 0 1 10
0
1 10 1100 1
01
001
0 11 0 1 0 011 101
01 0 1 1 01
Binary-to-Decimal 11 0010 0010
0 1 1011
01 101 110 0
Conversion 1
010111101 100101011
1
0 1
1 001
0
0 1 011 1 00
011 1
00101
0 1 01
1 011 0
00
1 0100
2
Decimal ‒to‒ Binary Conversion
The Process : Successive Division
a) Divide the Decimal Number by 2; the remainder is the LSB of
Binary Number .
b) If the quotation is zero, the conversion is complete; else repeat
step (a) using the quotation as the Decimal Number. The new
remainder is the next most significant bit of the Binary Number.
Example:
Convert the decimal number 610 into its binary equivalent.
3
2 6 r 0 Least Significant Bit
1
2 3 r 1 610 = 1102
0
2 1 r 1 Most Significant Bit
3
Dec → Binary : Example #1
Example:
Convert the decimal number 2610 into its binary equivalent.
4
Dec → Binary : Example #1
Example:
Convert the decimal number 2610 into its binary equivalent.
Solution:
13
2 26 r 0 LSB
6
2 13 r 1
3
2 6 r 0 2610 = 110102
1
2 3 r 1
0
2 1 r 1 MSB
5
Dec → Binary : Example #2
Example:
Convert the decimal number 4110 into its binary equivalent.
6
Dec → Binary : Example #2
Example:
Convert the decimal number 4110 into its binary equivalent.
Solution:
20
2 41 r 1 LSB
10
2 20 r 0
5
2 10 r 0 4110 = 1010012
2
2 5 r 1
1
2 2 r 0
0
2 1 r 1 MSB 7
Dec → Binary : More Examples
a) 1310 = ?
b) 2210 = ?
c) 4310 = ?
d) 15810 = ?
8