Binary to BCD Converter
Posted: Sat Apr 16, 2011 11:40 am
I am enclosing the files for a 32-bit Binary-to-BCD converter. It uses the standard approach. I plan to give further info on it later, however, it takes a binary input in the bottom 29-bit register, LSB to the right. Basically, to convert:
1. Zero the Binary register using the button to the left.
2. Enter the ones of the value into the register.
3. At the top right, click the "Reset" button.
4. Shift in the binary bits, one at a time, by clicking the Step (Stp) button at the top right. As the bits are shifted in, the BCD value will be accumulated at the bottom row of displays. When all bits are shifted in, the BCD value will be displayed.
KLM
1. Zero the Binary register using the button to the left.
2. Enter the ones of the value into the register.
3. At the top right, click the "Reset" button.
4. Shift in the binary bits, one at a time, by clicking the Step (Stp) button at the top right. As the bits are shifted in, the BCD value will be accumulated at the bottom row of displays. When all bits are shifted in, the BCD value will be displayed.
KLM