Restoring Division Algorithm
Restoring Division Algorithm
and Architecture
Topic: Division (Restoring
method)
Prerequisites
0 1 1 0
Shifting of Bits(Left or Right)1 - 1 0 ?
Remainder 2
Division of unsigned binary integers
Division of unsigned binary integers is
instructive method. There are two methods:
Restore Method
Non - Restore Method
Flowchart for Unsigned Binary Division
start
nno of bits
M Divisor
A 0
Q Dividend
Shift left AQ
A= A - M
=0 MSB =1
of A
Q[0] = 1
Q[0] = 1 Restore A
n = n-1
Is n = 0 No
Yes
Quotient in Q
Remainder in A
Stop
Flowchart for Unsigned Binary Division
Start
nno of bits
M Divisor
A 0
Q Dividend
Shift left AQ
A= A - M
=0 MSB =1
of A
Q[0] = 1
Q[0] = 1 Restore A
n = n-1
Is n = 0 No
Yes
Quotient in Q
Remainder in A
Stop
Division by Restore Method
11(Dividend)/3(Divisor) 3(Quotient) and 2(Remainder) Start
10