UNIT 2.3-PPT
UNIT 2.3-PPT
UNIT 2.3-PPT
(Autonomous)
UNIT II
SYLLABUS
Hardware Architecture
Cont.…
Flowchart
Addition and Subtraction with signed2’s
complement data
The left most bit of binary number represents the sign bit; 0
for positive and 1 for negative. If the sign bit is 1, the
entire the entire number is represented in 2’s compliment
form.
The addition of two numbers in signed-2’s complement
form consists of adding the number with the sign bits
treated the same as the other bits of the number . A carry
out of the sign bit position is discarded .
The subtraction consists of first taking the 2’s compliment
of the subtrahend and then adding it to the minuend
When two numbers of n digits each are added and the sum
occupies n+1 Digits, we say that an overflow occurred.
When the two carries are applied to an exclusive-OR gate,
the overflow is detected when the output of the gate is
equal to 1.
Addition & Subtraction
Signed – 2’s Complement
Flowchart
Array multiplier
The multiplication of the two binary numbers can be
done with one micro-operation by means of a
combinational circuit that forms the product bits all at
once. This is a fast way of multiplying two numbers
since all it takes is the time for the signals to propagate
through the gate that form the multiplication array.
Division Algorithm
Division of two fixed-point binary numbers in signed magnitude representation is
done with paper and pencil by a process of successive compare ,shift ,and subtract
operations ..
Hardware implantation of signed magnitude data
Example of binary division with digital
hardware