摘要 |
PURPOSE:To execute operation with the minimum number of hardwares by providing the titled device with registers latching an operand consisting of a four- bit BCD code and a number to be operated respectively and registers latching a selector and its output, and reading out the contents of a ROM from these registers. CONSTITUTION:A bit string constituted of the outputs of the register 32 latching the operand expressed by a four-bit BCD code corresponding to one digit of data, the register 33 latching the operated number and the register 31 latching a carrying number and an initial value is connected to an address input of the ROM1. The ROM1 outputs four bits of the operated result in accordance with the input and four bits of a carried number by a selector 4. Consequently, the operation of decimal data consisting of the optional number of digits can be attained by the minimum number of hardwares without increasing the bit width of a data bus and the registers. |