- 31
- 0
- 约7.11千字
- 约 52页
- 2017-12-13 发布于江苏
- 举报
数字逻辑一英文
Chapter 2 Number Systems and Codes Preface 2.1Positional Number Systems 2.Binary-to-decimal 3.Binary-to-octal and hexadecimal Binary-to-Octal Binary-to-Hexadecimal Octal-to-Binary Hexadecimal-to-Binary 4.Decimal-to-Radix-r Radix-r1-to-Radix-r2 2.2 Addition and Subtraction of Nondecimal Numbers 2.Addition of Hexadecimal Numbers 3.Subtraction of Binary Numbers 4.Subtraction of Hexadecimal Numbers 2.3 Representation of Negative Numbers 1.Signed-Magnitude Representation 2.Radix-Complement Representation 3.Dinimished Radix-Complement Representation 4.Two’s-Complement Addition and Subtraction Subtraction Rules: 5.Ones’-Complement Addition and Subtraction 6. Sign extension 7.Signed Fractional and Floating-Point 2.4 Binary Codes 2. Addition of 8421BCD 3.Gray Code Construct Gray Code 4.Codes for Characters, Actions, Conditions and States D: n-digit number If then Fixed 51 99 98 97 96 95 50 49 48 04 03 02 01 00 +1 +2 +3 +4 2 digit decimal numbers -1 -2 -3 -4 +48 +49 -49 -50 +0 … … … … -5 Positive numbers Negative numbers Ex.2-13 1410 1810 - 14Complement 1410+(-1810) 82Complement + 6 9 Complement (-410) Ex.2-14 -1410 1810 + 86Complement 18Complement + -1410+1810 4 1 0 1 1 n=2 Complement Ex.2-15 -1410 1810 - -1410+(-1810) 86Complement 82Complement + 8 6 1 1 Complement (-3210) Ex.2-16 4310 4510 + 8810 43Complement 45Complement + 8 8 Complement (-1210) Range: Range:[-50,49] Overflow Two’s-Complement D: n-digit number Fixed 51 99 98 97 96 95 50 49 48 04 03 02 01 00 +1 +2 +3 +4 2 digit decimal numbers -1 -2 -3 -4 +48 +49 -48 -49 +0 … … … … Positive numbers Negative numbers -0 Range: Range:[-49,49] Two zeros:+0 and -0 Ones’-Complement 0000 0001 0010 0011 0100 0101 1000 1001 1010 1101 1111 1110 1011 1100 0111 0110 +0 +1 +2 +3 +4 +5 ?8 ?7 ?6 ?3 ?1 ?2 ?5 ?4 +7 +6 Overflow +1 -1 4bit MSB weight:-2n-1 Range:[-2n-1,2n-1-1] Ex.2-17 C X Y +3 +4 + +7 0011 0100 + 1 1 1 0 C X Y -2 -6 + -8 1110 1010 + 0 0 0 1 1 1 1 1 4bit C X Y +6 -3 + +3 0110 1101 + 1 1 0 0 C X Y +4 -7 + -3 0100 1001 + 1 0 1
您可能关注的文档
最近下载
- 手术室护士的职业暴露与防护课件.pptx VIP
- 机械工程测试技术基础的期末考题及答案.docx VIP
- 药店医疗器械质量管理制度.docx VIP
- 高二物理电场综合测试练习试卷及答案.doc VIP
- (2023春)大象版六年级科学下册全册教案(教学设计).doc
- 社区获得性肺炎重症的护理查房.pptx VIP
- 高考物理复习《带电粒子在电场中的力电综合问题》强化练习含答案.pdf VIP
- 广告牌安装安全协议书范本(标准版).doc VIP
- 湖北省武汉市东湖新技术开发区 2024-2025学年七年级上学期期末道德与法治试卷.docx VIP
- 宝胜电缆中英文对照样本Product-Catalogue.pdf VIP
原创力文档

文档评论(0)