- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
数字逻辑设计及应用 Chapter2 Number Systems and Code 重点: 1)二进制、八进制和十六进制数的表达及各种数制之间的相互转换; 2)符号数的表达及其加、减运算; 3)BCD编码和GRAY码。 2.1 Positional Number Systems 1.Decimal number A decimal number 1536.79d digits:0、1、2、3、4、5、6、7、8、9 weight:10i radix:10 power:i,start from the left of the decimal point, increase by one for each successive position from 0 ; from the right of the decimal point, decrease by one from (-1). An arbitrary decimal number D with p digits in integer and n digits in fraction dp-1dp-2……d1d0.d-1d-2……d-n General expression: A binary number 1011010.1012,: 3. Others LSB: Least Significant Bit MSB: Most Significant Bit bp-1bp-2…b1b0 .b-1…b-n 2.2 Octal and Hexadecimal Numbers 1.concept Exp3:give the decimal value of the following numbers. 215.78= 3AD.8h= 2. 2-8 and 2-16 number’s Convensions (a)binary——octal、hexadecimal conversions Starting at the binary point,separate the bits into groups of 3 or 4,and replace each group with the corresponding octal or hexadecimal digit. If the leftmost group fall short of 3 or 4 bits, then 0 should be added to the left of the MSB; so do the right。 Exp:do the following positional-number-system conversion 。 1111011010.00112=( ? )8=( ? )h Solution: =1732.148 =3DA.3h (b) octal, hexadecimal-binary number conversion Replace each octal or hexadecimal with the corresponding group of 3 or 4bits. Exp:267.248=( ?)2 96CA.28h=( ?)2 2.3 general positional-number-system conversions Radix-r-to-decimal conversion: Each radix-r number’s digit multiply by its own weight, and add them . Exp:512.46=( ?)d 1、decimal-to-radix-r conversion—integer part methods:除基取余 The integer of a p digits number in radix r is: Divide the formula by r successively, yield the successive digits of the integer of D (radix r) from the right to left till the quotient is 0. Exp: 371d =(?)2=(?)8=(?)h 2、 decimal-to-radix-r conversion—fraction part methods:乘基取整 The fraction of a p digits number in radix r is : Multi
文档评论(0)