原码、反码、补码、移码的一些说明(The original code, complement, complement, shift some description code).docVIP
- 1、本文档共12页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
原码、反码、补码、移码的一些说明(The original code, complement, complement, shift some description code)
原码、反码、补码、移码的一些说明(The original code, complement, complement, shift some description code)
The original code, complement, complement, shift some description code
Definition of the original code, complement, complement
1, the definition of the source code
The definition of the decimal code
[X] =
X 0 X 1
1X1 X 0
For example: X=+0.1011, [X] = 01011
X=0.1011 [X] = 11011
The definition of the integer source code
[X] =
0 X X 2n
2nX2n X 0
2, the definition of complement
Definition of decimal complement
[X] complement =
X 0 X 1
2X1 X 0
For example: X=+0.1011, [X] = 01011
X=0.1011, [X] = 10101
Definition of integer complement
[X] complement =
0 X X 2n
2n+1X2n X 0
3, the definition of complement
The definition of negative decimal
[X] =
X 0 X 1
22n-1X1 X 0
For example: X=+0.1011 [X] = 01011
X=0.1011 [X] = 10100
The definition of negative integer
[X] =
0 X X 2n
2n+11X2n X 0
4. shift code: the shift code is used only for floating-point codes, so it is for integers only.
The frameshift definition: set consists of 1 bits and N bits of the order numerical code, [X] + X -2n shift =2n = X = 2n
For example: X=1011 [X] shift =11011 symbol 1 is a plus
X=1011 [X] shift =00101 sign bit 0 sign
The relationship between the shift code and complement: [X] shift relations with [X] complement each other is the sign bit complement,
For example: [X] =11011 [X] =01011 X=1011 shift compensation
[X] =00101 [X] =10101 X=1011 shift compensation
Problems needing attention in code shifting operation:
The operation result of frameshift need revision, correction for 2n, namely the sign bit inversion is the correct results in the form of frameshift.
The frameshift said, there are only 0 - 1000 encoding... 00, when 000 appears... 00 (said 2n), which belongs to the floating point underflow.
Two, complement plus minus operation rules
1, operation rules
[XY] = [X] [Y] supplement supplement supplement
[XY] = [X] [Y] supplement supplement supplement
If the [Y] complement is known, the [Y] compl
您可能关注的文档
- 健康用电脑(Healthy computer).doc
- 健康知识.txt(Health knowledge.Txt).doc
- 健康知识txt(Health knowledge TXT).doc
- 健康的至理名言(The health of the true saying).doc
- 健康知识抽测卷2(Health knowledge questionnaire 2).doc
- 健康评估课程教学大纲(Syllabus of health assessment course).doc
- 健康饮食标准表(Healthy diet table).doc
- 健力宝为品牌注入文化(Jianlibao inject cultural brand).doc
- 健美哈哈(Ha ha ha).doc
- 健美营养十大误区(Ten misunderstandings of bodybuilding and nutrition).doc
- 原研哉-最美的设计是虚无(Original research - the most beautiful design is nothingness).doc
- 压实度试验检测(Compactness test).doc
- 县2009年小学六年级数学测试试卷(County 2009 primary school grade six math test paper).doc
- 县价格管理工作的调研(Investigation of county price management).doc
- 压铸模具设计,无锡UG模具设计培训,无锡UG培训,proe培训,大师驾临课堂学模具设计就业有出路!(Die casting mold design, mold design of Wuxi Wuxi UG training, UG training, proe training, master class to learn mold design employment way!).doc
- 县地方税务局办公室半年总结(County Office of the local tax revenue six months summary).doc
- 县地税稽查局2005年工作总结(Summary of work of County Land Tax Inspection Bureau in 2005).doc
- 县委书记李卫平在第二十三个教师节庆祝表彰大会上的讲话(Li Weiping, Secretary of the county Party committee, delivered a speech at the twenty-third teachers' Day celebration meeting).doc
- 县级市国税局年终工作总结(Summary of year-end work of State Taxation Bureau of county level).doc
- 县供销合作社党委2006年年终工作总结(Summing up work of Party committee of county supply and marketing cooperative party in 2006).doc
最近下载
- 《生物制品生产技术》课程考试复习题库(含答案).pdf VIP
- 2025年高中地理新课标.docx VIP
- CentOS操作系统的简介与安装、CentOS操作系统的简介教学课件.pptx VIP
- 东莞富士电梯NW3P微机原理图纸.pdf
- 人教2024版体育与健康一年级(全一册)说课稿.docx VIP
- 湘鲁版英语三年级下册期末测试题含听力材料和答案.doc VIP
- 浓密机安装施工方案最终.docx
- 2025中国青少年发展基金会高校毕业生招聘3人笔试备考题库及答案解析.docx VIP
- 高中英语教学竞赛公开课、高考复习课件——读后续写无灵主语课件.pptx VIP
- 专题15读后续写无灵主语仿写训练五大类75例2(讲义)-2024年高考英语读后续写高分宝典原卷版.docx VIP
文档评论(0)