Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 5 Number Represent and Arithmetic Ciacuit 逻辑电路及其完成的算术运算 (217)

Similar presentations


Presentation on theme: "Chapter 5 Number Represent and Arithmetic Ciacuit 逻辑电路及其完成的算术运算 (217)"— Presentation transcript:

1 Chapter 5 Number Represent and Arithmetic Ciacuit 逻辑电路及其完成的算术运算 (217)

2 5.1 Positional Number Representation LSB 最低有效位 MSB 最高有效位 Nibble 半字节 Byte 字节 Left Shift -- multiply Right shift -- divider

3 Conversion between each other Binary Decimal 十进制 Octal 八进制 Hexadecimal 十六进制

4 5.2 Addition of unsigned numbers Half adder-no carry in Full adder-with carry in Ripple-carry Adder ( 行波)逐位进位 (并行加法器)

5 Arithmetic Circuit Adder 加法器 HA 、 FA 、 RCA 、 Multiplication 乘法器

6 5.3 Signed numbers Negatives numbers 负数 Sign-and-magnitude 符号-量 1001 -1 1’s complement 反码 1001 -6 2’s complement 补码 1001 -7

7 5.3.2 Addition and subtraction 1’complement add: Result: add “n” become all 1, then is negative “n” Ex:1100 1100+0011=1111, negative 3 ! carry out from the sign bit should add bake to the LSB position! Not simple

8 2’complement add: Result: add “n” become all 0, then is negative “n” Ex:1100 1101+0011=0000, negative 3 carry out from the sign simply ignore simple! Subtrahend 减数 Minuend 被减数

9 5.3.4 Radix-Complement Schemes 9’s complement 十进制反码 10’s complement 十进制补码

10 5.3.5 Arithmetic overflow Carry out of Sign bit XOR MSB

11 Price / performance ratio Speed The path that causes the longest delay is called critical path 关键路径

12 5.4 Fast Adder Carry-lookahead adder 超前进位加法器

13

14

15

16

17

18

19

20

21

22

23

24

25

26


Download ppt "Chapter 5 Number Represent and Arithmetic Ciacuit 逻辑电路及其完成的算术运算 (217)"

Similar presentations


Ads by Google