摘要 |
PURPOSE:To perform the code conversion at a high speed, by adding overflowed bits to the second register and storing the result as a binary-coded decimal number in a decimal correcting means. CONSTITUTION:The binary number stored in the first register R1 is shifted left by one digit, and the first bit is stored in a carry bit memory C. Contents of the second register R2 where a binary-coded decimal number is stored are doubled by an arithmetic device AD to add the overflowed carry bit. The result is stored as a binary-coded decimal number in the register R2 by the decimal correcting means, and this operation is repeated by the number of times corresponding to the number of all bits of the register R1. After repeating this operation, a binary-coded decimal number is attained in the register R2. |