NAU jan.ucc.nau.edu web server

Algorithm for converting N-bit binary number to BCD: Set up a Result Shift Register (RSR) and a Binary Shift Register (BSR). Clear the RSR and load Binary value into BSR. Set count to 1. Shift most significant bit (MSB) of BSR into least significant bit (LSB) of RSR. If cont = N then exit else: Check each BCD digit of RSR. For BCD digits ( 5 ... ................
................