检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:赵煜[1] 马萌[1] ZHAO Yu;MA Meng(The 54th Research Institute of CETC,Shijiazhuang 050081,China)
机构地区:[1]中国电子科技集团公司第五十四研究所,河北石家庄050081
出 处:《计算机与网络》2020年第13期56-59,共4页Computer & Network
摘 要:从机器码出发,介绍了原码、反码、补码的定义以及三者之间的内在联系,由于原码在加减运算中的不足引入了补码,为了方便求得补码又引入了反码,从而清晰地展示了三者编码之间的联系,使用VEE可视化语言实现了三者之间的转化,通过2种方法介绍了负数原码、反码、补码之间的程序设计过程,并且介绍了机器数之间的加减运算方法,以及具体运算过程,使用人工算法验证了该程序设计的正确性。Aiming at machine code,the definition of original code,inverse code and complement code and the internal and external relations among them are described.Due to the deficiency of the original code in addition and subtraction operations,the complement code is introduced,and the inverse code is introduced in order to obtain the complement code conveniently,thus clearly showing the connection between the three codes.The VEE visual language is used to realize the conversion between the three.The two methods are used to introduce the program design process among the negative original code,inverse code and complement code.The addition and subtraction operation method between the machine numbers and the specific operation process are described.The correctness of the programis verified by using artificial algorithm.
分 类 号:TP316[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.222.24.23