- 0
- 0
- 约7.68千字
- 约 27页
- 2016-12-05 发布于贵州
- 举报
有符号数的编码 ——解决数字系统中运算数据的符号问题。 ——解决数字系统中减法运算的问题。 The left-most bit is the sign bit. The remaining bits are the magitude bits. The magitude bits are in true(uncomplemented) binary for both positive and negative numbers. ? 特点 1) 简单直观、容易变换。 2) 除加或减运算,还要判断符号位。 3) 零的表示不是唯一的。 4) 系统硬件增多、运算时间增加。 Positive numbers in the 1’s complement system are represented the same way as the positive sign-magnitude numbers. Negative numbers are the 1’s complement of the corresponding positive numbers. ? 特点 1) 符号位直接参与运算。 2) 如运算时符号位有进位,需将进位加到结果的最低位,运行时间增加。 3) 零的表示不是唯一的。 4) 系统硬件增多、运算时间增加。 Positive numbers in the 2’s complement system are represented the same way as the positive sign-magnitude numbers. Negative numbers are the 2’s complement of the corresponding positive numbers. ? 特点 1) 符号位直接参与运算。 2) 如运算时符号位有进位,只需将进位舍去,简化系统运算。 有小数点的数的编码 ——解决数字系统中小数的表示问题。 1、定点表示法 1)小数点在约定的固定位置。 2)运算简单 3)能表示的数的范围不大。 2、浮点表示法 1)小数点位置根据数的大小调整 2)运算复杂 3)能表示的数的范围较大。 ? 用4位二进制编码表示0~9十个数字。 ? 如果一个数有多位,则每一位上的数字都用固定的二进制编码来表示。 ? Sixteen number (0000 through 1111) can be represented with 4 bits , but that only ten of these are used in the 8421 code. ? The six code combinations that are not used-1010, 1011, 1100, 1101, 1110 and 1111-are invaid in the 8421 code. * 骆丽 1-1. 数制 1-2. 编码 第1章 数制和编码 阅读:P16~P47 作业: P48~P49 练习题 1-1(1), 1-2(1), 1-5(1), 1-6(4), 1-9(2)(3)(5), 1-10, 1-12(3), 1-13(2) 第1章 数制和编码 1-1、数制 基本内容 1-1-1. 常用的计数方法—进位计数法 1-1-2. 二进制算术运算 1-1-3. 不同数制之间的转换技术 1、基,权,进位 基 —数制中所包含基本数字的个数。 权 —组成数的各数字所处的位置,位权值等于基数的“位权”次幂。 ---表示数的数量级 —整数的权是基的正指数,从n0=1开始,从右向左逐渐增大 —小数的权是基的负指数,从n-1=1开始,从左向右逐渐减小 进位 —在同一位权上计数值达到基数时,就进入高一级的位权。 基数为10的数 ——十进制数 1-1-1、 进位计数法 十进制数 逢十进一 1-1、数制 第1章 数制和编码 2、数的表示 位置计数法 NR =(Kn-1Kn-2…K1K0 .K-1K-2…Km )R 多项式展开法 NR =Kn-1R n-1+…+K0R 0+K-1R -1+…+K-mR -m 位置 基 权 1-1-1、进位计数法 1-1、数制 第1章 数制和编码 3、数字逻辑中常用数制 N2 =Kn-12n-1+…+K020+K-12-1+…+K-m2-m ? 二进制 基: 2 数码: 0 1 N16 =Kn-116n-1+…+K0160+K-116-1+…+K-m16-m ? 十六进制 基: 16 数码: 0~9 A~F 1-1-1、进位计数法 1-1、数制
您可能关注的文档
最近下载
- 全自动血液流变仪技术参数.DOC VIP
- 2017年江苏高考地理真题及答案.pdf VIP
- 四川省广安市2025-2026学年高一上学期期末考试物理试题(原卷版+解析版).pdf VIP
- 2015高考真题——地理(江苏卷)Word版含解析.doc VIP
- KDIGO2026慢性肾脏病贫血管理临床实践指南解读PPT课件.pptx VIP
- 2026KDIGO临床实践指南:慢性肾脏病贫血的管理(概要)PPT课件.pptx VIP
- 四川省南充市普通高中2025-2026学年高一上学期期末考试物理试题(原卷版+解析版).docx VIP
- 2026年教案课件-中华民族共同体概论-教案合集7篇-新版.pdf VIP
- 2026年教案课件-中华民族共同体概论--专家大讲堂6篇合集-新版.pdf VIP
- 自智网络白皮书(4.0) Autonomous Networks Whitepaper (4.0).pdf VIP
原创力文档

文档评论(0)