机器数补码全字长数位说  

New theory that the first bit of machine number complement code is a number bit instead of a sign bit of data

在线阅读下载全文

作  者:周良泽[1] 周婷婷 ZHOU Liangze;ZHOU Tingting(School of Computer Engineering,Jingchu University of Technology,Hubei 448000,China;School of Software and Microelectronics,Northwestern Polytechnical University,Xi’ an 710072,China)

机构地区:[1]荆楚理工学院计算机工程学院,湖北荆门448000 [2]西北工业大学软件与微电子学院,西安710072

出  处:《计算机工程与应用》2018年第14期56-64,共9页Computer Engineering and Applications

基  金:湖北省教育厅重点科研项目(No.D20083501);荆门市重点科学研究项目(No.ZR200902)

摘  要:大量现行教材与专著中所表述的"机器数补码首位是符号位"之说,其补码加法法则不能被解释,令人困惑。对机器数补码全字长各位定义了位权,提出了"首位负权记数制"及新的机器数补码数据模型。在这个新的模型下,建立了补码与其真值的等量映射,论证了机器数补码的表值域,论证了补码真值负与非负的判定法则及机器数补码x与其真值y二者之间相互转换的求解法则;给出了机器数补码的加法法则,论证了在封闭运算条件下机器数补码加法的等效加法运算法则。揭示了机器系统内部补码信息表示的内涵与补码加法法则的真相,建立了"机器数补码全字长数位说"。"机器数补码首位符号说"中种种无可释然的困惑,在"机器数补码全字长数位说"里不复存在。"The first bit of the complement code in computer is a sign bit"is expressed in many textbooks and monographs presently, but the addition rule of complement code cannot be explained in the expressing system. In this paper, the weight of each bit in whole word length of complement code is defined, and the numeration system with negative weight for the first bit of data and a new data model for the complement code are presented. Based on the new data model, the mapping of equal value between complement code and his real value is built. The value range of complement code and the rule which decides whether complement code is negative or nonnegative are given. The interchanging rules between real value and complement code are given. The addition rule of complement code based on the new data model of complement code is given and the equivalent rule of addition of complement code under the condition of closed operation is also proven. The truths that computer system expresses complement code and the complement code addition rule in computer system are revealed. A new theory system that the first bit of complement code is number bit is built. The problems which cannot be explained in expressing system of"The first bit of the complement code in computer is a sign bit"are no longer in existence in the new theory system.

关 键 词:补码的数据模型 位权定义 补码加法法则 补码等效加法法则 全字长数位说 首位负权记数制 

分 类 号:TP30[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象