Unit 2 COA
Unit 2 COA
21CSE224T: Computer
Architecture
Examples:
MOV AX, 5;
ADD BX, AX;
JMP LABEL.
Assembly Language
16
• Advantages: Increased control over hardware, efficient
code execution, ability to optimize critical sections, direct
memory and register access.
0 0 0 1 1 1 1
0 1 1 0 1 0 0
1 0 1 0 0 1 0
1 1 1 0 0 0 0
Half Adder 29
30
► Truth Table
33
Ripple Carry Adder 34
(n-Bit Adder)
Binary Adder-Subtractor 35
Carry Look-ahead Adder 36
37
38
39
Unsigned Multiplier 40
41
42
43
44
Signed Multiplier 45
Booth Multiplication
46
47
Fast Multiplier 48
Bit Pair Recording of Multiplier
49
50
Carry Save Addition of
51
summands
52
53
Division 54
Restoring Division 55
56
57
Non-Restoring Division 58
59
IEEE 754 Floating point numbers
60
IEEE 754 Floating point operations 61
IEEE 754 Floating point operations 62