首页>
外国专利>
How to optimize binary code language with access to Binary Coded Decimal variables, as well as computers and computer programs
How to optimize binary code language with access to Binary Coded Decimal variables, as well as computers and computer programs
展开▼
机译:如何通过访问二进制编码的十进制变量以及计算机和计算机程序来优化二进制代码语言
展开▼
页面导航
摘要
著录项
相似文献
摘要
PROBLEM TO BE SOLVED: To provide an optimization technique capable of converting a type of a BCD operation into a type of a DFP operation by solving difficulty resulting from the conversion from the type of the BCD operation being a calculation of a memory unit into the type of the DFP operation being a calculation of a register unit in optimization of a binary code of a language having access to a BCD type variable.SOLUTION: The optimization technique according to this invention generates a first compiler expression of a binary code, analyzes use and definition linkage and/or definition and use linkage for the first complier expression, identifies a logic BCD variable in the first complier expression on the basis of a result of the analysis, assigns a temporary variable to the identified logic BCD variable to generate a second complier expression, and converts an operation of a pack decimal number and a type of the temporary variable in the second complier expression into a DFP type on condition that code information and accuracy information are not lost due to conversion from the type of the BCD operation into the type of the DFP operation.
展开▼