- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Binary and Hex.ppt
Binary and Hex How to count like a computer Why Binary? The basic unit of storage in a computer is the bit (binary digit), which can have one of just two values: 0 or 1. This is easier to implement in hardware than a unit that can take on 10 different values. For instance, it can be represented by a transistor being off (0) or on (1). Alternatively, it can be a magnetic stripe that is magnetized with North in one direction (0) or the opposite (1). Binary also has a convenient and natural association with logical values of False (0) and True (1). Building on Binary Binary bits are grouped together to allow them to represent more information: A nybble is a group of 4 bits, e.g. 1011 A byte is a group of 8 bits, e.g.A word is a larger grouping: usually 32 bits. A halfword is half as many bits as a word, thus usually 16 bits. A doubleword is twice as many bits, usually 64 bits. However, computers have been designed with various word sizes, such as 36, 48, or 60 bits. Clearly, the number of possible combinations of a group of N bits is 2N = 2x2x2 … x2 (N 2s). Thus: A nybble can form 24=16 combinations A byte can form 28=256 combinations A 32-bit word can form 232=4,294,967,296 combinations Building on Binary Each combination of a group of bits can be assigned a symbolic meaning. For instance, bytes can be used to represent text by associating each byte value with a character. For example, the ISO-8859-1 character encoding (an extension of the older ASCII code) assigns the valueto mean a period (‘.’),to mean capital ‘A’, and so on. It is also possible to represent numbers using binary. The binary numbering system is like the decimal system, except that the only two digits used are 0 and 1, and digits are multiplied by powers of 2 instead of 10. Decimal and Binary Numbers Binary Numbers Binary and Hexadecimal Because binary numbers are rather unwieldy, programmers prefer to use a more compact way to represent them. Historically, octal
您可能关注的文档
- 21世纪什么最重要? .ppt
- 4 bit Versatile CMOS Rate Multiplier.ppt
- 4.4 Modeling and Optimization.ppt
- 40 and 100 GbE –Network Interfaces of the Future.ppt
- 40 Gbs and 100 GbsTechnologies forResearch & Education.ppt
- 4MB Clinical Problem-Solving.ppt
- 7.5 线索二叉树.ppt
- 8.1. Non-contrast CT Brain.ppt
- 9 Intangibles.ppt
- 9. AJAX & RIA.ppt
- BIODIVERSITY AN INTRODUCTION.ppt
- Boeing v. Airbus.ppt
- BRAIN-COMPUTER INTERFACE (BCI).ppt
- BRCA1 and BRCA2 Mutations and Breast Cancer.ppt
- Breast Milk and Infant Formulas.ppt
- Bridging Update in KOREA.ppt
- Business Report.ppt
- California State University San Marcos.ppt
- Car Monitoring SystemTeam IPA.ppt
- Cardiovascular Disease in WomenModule IV Diagnosis.ppt
最近下载
- 第14届国际数学教育大会标识及介绍.docx VIP
- 血友病教学课件.ppt VIP
- 《费尔巴哈的提纲》课件.ppt VIP
- 05S502 室外给水管道附属构筑物国标 建筑图集 汇编 .docx VIP
- 马工程系列《教育学原理》项贤明主编第一到十章全完整版课件PPT:产生发展、教育与社会人的发展、目的培养目标、制度、课程教学德育、教师学生等(1).pptx VIP
- 2025年山东能源集团公开招聘笔试参考题库附带答案详解.docx
- 积极心理学课件:构建积极生活,提升幸福感.ppt VIP
- 碘对比剂不良反应预防和处理课件.ppt VIP
- 糖尿病肾病合并肺部感染护理查房-幻灯片.ppt VIP
- 大学生安全教育(思政版):交通安全PPT教学课件.pptx VIP
文档评论(0)