LECTURE 39
LECTURE 39
ARCHITECTURE (COA)
EET 2211
4TH SEMESTER – CSE & CSIT
CHAPTER 9,10,11; LECTURE 39
By Ms. Arya Tripathy
William Stallings Computer
Organization and
Architecture
10th Edition
Chapters - 9,10,11
TOPICS TO BE COVERED
Ø The decimal system
Ø The Binary System
Ø Converting Between Binary and Decimal
Ø Hexadecimal Notation
LEARNING OBJECTIVES
Ø Understand the basic concepts and terminology of positional number
systems.
Ø Explain the techniques for converting between decimal and binary for
both integers and fractions.
Ø Explain the rationale for using hexadecimal notation.
d2*B2+d1*B1+d0*B0+d-1*B-1+d-2*B-2
(512.74)10
4 ARITHMETIC & LOGIC 7/16/2021
Binary Number System
Base = 2
2 digits { 0, 1 }, called binary digits or “bits”
Weights
Position 4 2 1 1/2 1/4
Weight = (Base)
Magnitude
1 0 1 0 1
Sum of “Bit x Weight” 2 1 0 -1 -2
Formal Notation 1 *22+0 *21+1 *20+0 *2-1+1 *2-2
Groups of bits =(5.25)10
4 bits = Nibble
(101.01)2
(1E5.7A)16
13 / 2 = 6 1 a0 = 1
6 /2= 3 0 a1 = 0
3 /2= 1 1 a2 = 1
1 /2= 0 1 a3 = 1
Answer: (13)10 = (a3 a2 a1 a0)2 = (1101)2
0.625 * 2 = 1 . 25 a-1 = 1
0.25 * 2 = 0 . 5 a-2 = 0
0.5 *2= 1 . 0 a-3 = 1
Answer: (0.625)10 = (0.a-1 a-2 a-3)2 = (0.101)2
LEARNING OBJECTIVES
Ø Understand the distinction between the way in which numbers are represented
(the binary format) and the algorithms used for the basic arithmetic operations.
Ø Explain two’s complement representation.
Ø Understand base and exponent in the representation of floating-point numbers.
Ø Present an overview of the IEEE 754 standard for floating-point representation.
parallel adder
JK Flip flop
D Flip flop
T Flip flop