Method and system for binary-to-decimal interconversion
AssigneeSony Corporation
InventorShingo Yamauchi
Life of this patent
Estimating the term…
Abstract
A process for performing binary-to-decimal conversion distinguishes between two major subdivisions of the information represented by the binary values and signifies the type of information for each value by a so-called attribute bit. The attribute bits for several binary values can be encoded into a single decimal digit while each binary value is itself converted to a reduced number of decimal digits.
Claims12
A code processor for converting first coding system codes established according to one coding system, which codes represent at least mutually distinct first and second types of information in different first and second ranges of values, into second coding system codes established according to the other coding system, the minimum value of said second range of values being greater than the maximum value of said first range of values, said processor comprising:
- memory means for storing said first coding system codes;
- means for distinguishing each of said first coding system codes stored in said memory means between said first and second types of information and for generating an identification code to distinguish said first and second types of information;
- means for deriving another first coding system codes having said first types of information in a third range of values corresponding to said first coding system codes in said first range of values and another first coding system codes having said second types of information in a fourth range of values corresponding to said first coding system codes in said second range of values, the minimum value of said third range of values being less than the maximum value of said fourth range of values;
- means for converting said another first coding system codes in said third and fourth range of values and said identification code into said second system codes according to said second coding system;
- and
- storing means for storing converted second coding system codes.
A code converting system for converting a plurality of given digits of binary code values into a corresponding sequence of decimal digits, comprising:
- first means for storing said binary code values;
- second means for reading out each of said binary code values from said first means and comparing a read out binary code value with a given value across which information contained in said binary code is separated into first and second type information and for generating for each binary code value an attribute bit identifying the type of the corresponding binary code value;
- third means for converting each binary code value into another binary code value according to the value of said attribute bit corresponding to said each binary code value;
- fourth means for converting each another binary code values in decimal digits so that the combination of said converted decimal digits and the corresponding attribute bit represents an original binary code value;
- and
- fifth means for storing the converted attribute bit and said decimal digits.
A code processor for converting values of a code in a first coding system, such as an 8-bit binary code which includes at least two mutually distinct types of information grouped in at least a first and a second range of values in said system to represent at least first and second types of information such as alphanumerical characters and Japanese katakana characters, into values in a second coding system such as decimal system, wherein the minimum value of said second range of values is greater than the maximum value of said first range of values, comprising:
- memory means for storing the values of said code in said first coding system;
- first subtractor means for subtracting a control code, if any, from said code in said first coding system when said code in said first coding system is read out from memory means;
- means for discriminating said code in said first coding system when read out from said memory means to distinguish said first range of values representing for example alphanumeric characters from said second range of values representing for example said katakana characters and providing a discrimination signal representative of a distinction between said first and said second range of values;
- second subtractor means responsive to said discrimination signal for subtracting a value for the output of said first subtractor means depending on whether said second range of values is discriminated by said discriminating means, thus to represent both of said first and said second range of values in said second coding system;
- converting the output of said second subtractor and said discriminator into said second coding system having a third range of values for said first range of values in said first coding system and a fourth range of values for said second coding system, and providing a converted output representative thereon;
- and
- storing said converted output.
Dependencies are inferred from the claim text.