- 1、本文档共88页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
[工学]计算机导论-讲稿2
Store –40 in a 16-bit memory location using two’s complement representation. First change the number to binary 101000. Add ten 0s to make a total of N (16) bits, 0000000000101000. The sign is negative, so leave the rightmost 0s up to the first 1 (including the 1) unchanged and complement the rest. The result is: 1111111111011000 Solution Example 13 Example of storing two’s complement integers in two different computers Decimal------------ +7 -7 +124 -124 +24,760 -24,760 8-bit allocation ------------1111100110000100 overflow overflow 16-bit allocation ---------------------------- 0000000000000111 1111111111111001 0000000001111100 1111111110000100 0110000010111000 1001111101001000 Interpretation How do you interpret a twos complement binary represen-tation in decimal? The process involves these steps: 1. If the leftmost bit is 0 (positive number), a. Change the whole number from binary to decimal. b. Put a plus sign (+) in front of the number . 2. If the leftmost bit is 1 (negative number), a. Leave the rightmost bits up to the first 1 (inclusive) unchanged. Complement the rest of the bits. b. Change the whole number from binary to decimal. c. Put a negative sign (-) in front of the number. Interpret in decimal if the number was stored as a two’s complement integer. The leftmost bit is 1. The number is negative. Leave 10 at the right alone and complement the rest. The result is. The two’s complement number is 10. So the original number was –10. Solution Example 14 Summary of integer representation Contents of Memory------------ 0000 0001 0010 0011 0100 0101 0110 0111 1000 1001 1010 1011 1100 1101 1110 1111 Unsigned ------------ 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 Sign-and-Magnitude --------- +0 +1 +2 +3 +4 +5 +6 +7 -0 -1 -2 -3 -4 -5 -6 -7 One’sComplement --------- +0 +1 +2 +3 +4 +5 +6 +7 -7 -6 -5 -4 -3 -2 -1 -0 Two’sComplement ---
您可能关注的文档
- [工学]第一课绪论.ppt
- [工学]第七章 典型果蔬制品的加工.ppt
- [工学]第七章 浅基础设计.ppt
- [工学]第七章 一阶电路和二阶电路的时域分析output.ppt
- [工学]第七章 海洋化学资源.ppt
- [工学]第七章 计划的制订.ppt
- [工学]第七章 高聚物力学性能测试.ppt
- [工学]第七章 自洽场分子轨道理论.ppt
- [工学]第七章_欧氏空间.ppt
- [工学]第七讲VC++编程.ppt
- 2025上海华东师范大学上海出版研究院专职科研人员招聘2人考前自测高频考点模拟试题及答案详解一套.docx
- 2025中国民生银行北京分行全球春季校园招聘&实习直航计划模拟试卷及参考答案详解1套.docx
- 2025中国东方电气集团有限公司校园招聘考前自测高频考点模拟试题及参考答案详解.docx
- 2025中国南水北调集团青海有限公司招聘33人模拟试卷及答案详解一套.docx
- 2025中国建筑一局(集团)有限公司基础设施事业部水利产品线市场营销岗招聘1人考前自测高频考点模拟试.docx
- 2025中船智海创新研究院社会招聘考前自测高频考点模拟试题参考答案详解.docx
- 2025上半年杭州市第三人民医院公开招聘编外工作人员22人考前自测高频考点模拟试题及答案详解一套.docx
- 2025云南大学附属医院面向社会公开招聘非事业编制工作人员(1人)考前自测高频考点模拟试题及参考答案.docx
- 2025中国人民大学福州研究院暨福州市人民大学研培中心涉台研究人员招聘模拟试卷及答案详解一套.docx
- 2025上海市第二社会福利院招聘10人模拟试卷及参考答案详解.docx
最近下载
- 电商代运营合同.doc VIP
- 2023年尤溪县城管协管员招聘笔试试题及答案.docx VIP
- UL2580-2022(Jun28,2022)必威体育精装版教程手册.pdf VIP
- 河北建投新能源有限公司武川大元山(小井)环境影响报告表.doc
- 如何看懂财务报表.pptx VIP
- 水务行业作业指导书SOP:污水处理站管理制度及操作规程(内有17份操作规程).docx VIP
- 2021年尤溪县城管协管员笔试试题及答案解析.docx VIP
- 广西南宁市天桃实验学校2024-2025学年七年级上学期开学分班考英语试题(含解析).docx VIP
- 2025抗菌药物培训试题(+答案).docx VIP
- 公司党建章程范本模板.docx VIP
文档评论(0)