Invention Grant
US07660838B2 System and method for performing decimal to binary conversion 有权
用于执行十进制到二进制转换的系统和方法

System and method for performing decimal to binary conversion
Abstract:
A method for converting from decimal to binary including receiving a binary coded decimal (BCD) number made up of one or more sets of three digits. A running sum and a running carry are set to zero. A process is performed for each set of three digits in the BCD number in order from the set of three digits containing the three most significant digits of the BCD number to the digits containing the three least significant digits of the BCD number. The process includes: creating six partial products based on the set of three digits, the running sum and the running carry; combining the six partial products into two partial products; and storing the two partial products in the running sum and the running carry. The running sum and the running carry from each set of three digits are combined into a final binary result.
Public/Granted literature
Information query
Patent Agency Ranking
0/0