摘要 |
PURPOSE:To realize hexadecimal and binary conversions by a compact circuit which combines simple parts by selecting an extended representation of a decimal number with a zone. CONSTITUTION:For instance, a hexadecimal numerical train 1, A, B, 9, F, C, E, D is inputted to a translating circuit 1 in the form of an EBCDIC code train F1, C1, C2, F9, C6, C3, C4. The translating circuit 1 refers to a translation table 3, and outputs after converting it to a decimal number with a zone and its extended representation F1, FA, FB, F9, FF, FC, FE, FD. Subsequently, a packing circuit 2 eliminates a zone part F of each character and converts it to a binary number. In a decimal number pack, a code is required for the minimum place digit, therefore, a suitable temporary code is put on so as to be discarded in the end. As a final result, a binary numerical train 1AB9FCED is obtained. |