1
Arithmetic Operations
Arithmetic Operations
addition subtraction multiplication division
Each of these operations on the integer
representations:
unsigned two's complement
Arithmetic Operations Arithmetic Operations addition subtraction - - PowerPoint PPT Presentation
Arithmetic Operations Arithmetic Operations addition subtraction multiplication division Each of these operations on the integer representations: unsigned two's complement 1 Addition One bit of binary addition
1
addition subtraction multiplication division
unsigned two's complement
2
3
4
5
6
7
8
9
No Overflow Overflow! Overflow!
10
11
12
13
14
15
16
17
18
19
20
21
22
reverse additive inverses find additive inverses
sign ext. partial product
23
24
25
26
27
28
clear a bit means make it a 0
1‘s for unchanged bits 0‘s for cleared bits
29
set a bit means make it a 1
0‘s for unchanged bits 1‘s for set bits
30
31
32
33
34
35