- 1、本文档共67页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
[工学]数电课件chapter02
CHAPTER 2NUMBER SYSTEMS,OPERATIONS,AND CODES数字系统、运算和编码 2-1 DECIMAL NUMBERS十进制数 Introductory Paragraph You are familiar with the decimal number system because you use decimal numbers every day. Although decimal numbers are commonplace, their weighted structure is often not understood. In this section, the structure of decimal numbers is reviewed. Their review will help you more easily understand the structure of the binary number system, which is important in computers and digital electronics. Decimal Review Numbers consist of a bunch of digits, each with a weight. Nothing Special about 10! Decimal system (and the idea of “0”) was invented in India around 100-500AD. Why did they use 10? Anything special about it? Not really. Probably the fact that we have 10 fingers influenced this. Will a base other than 10 work? Sure. 2-2 BINARY NUMBERS二进制数 Introductory Paragraph The binary number system is simply another way to represent quantities. The binary system is less complicated than the decimal system because it has only two digits. It may seem more difficult at first because it is unfamiliar to you. The decimal system with its ten digits is a base-ten system; the binary system with its two digits is a base-two system. The two digits (bits) are 1 and 0. The position of a 1 or 0 in a binary number indicates its weight, or value within the number, just as the position of a decimal digit determines the value of that digit. The weights in a binary number are based on powers of two. Counting in Binary A binary count of 0 through 15 is shown below. As you will see, 4 bits are required to count from 0 to 15. Counting Tennis Balls Going into a box from a Conveyor Belt The counter counts the pulses from a sensor that detects the passing of a ball and produces a sequence of logic levels (digital waveforms) on each of its four parallel outputs. Each set of logic levels represent a 4-bit binary number. The decoder decodes each set of four bits and converts it to the cor
文档评论(0)