Algorithm for D to B conversion
Divide number by 2
The remainder is the bit value of the 20 position
Divide the quotient by 2
The remainder is the bit value of the 21 position
Divide the quotient by 2
The remainder is the bit value of the 22 position
Repeat the procedure until you cannot divide any further.
Previous slide
Next slide
Back to first slide
View graphic version