ANDHRA PRADESH
Name : A Rajeswara Rao
Designation : Head
Branch : Computer Engg
Institute : GMR Polytechnic, Karimnagar
Year/Semester : III Semester
Subject : Computer Architecture
Subject Code : CM-303
Topic : Arithmetic operations
Duration : 50 Mts
Sub. Topic : Explain the flow chart for division of fixed point
numbers
Teaching Aids to be used : Ppts, flow Charts
1
CM303.29
Recap
operations.
CM303.29 2
Objective
CM303.29 3
Now we can write steps for fixed point
division in the form of a flow chart as
follows.
CM303.29 4
Divide operation DIVIDE MAGNITUDES
Shl EAQ
Dividend in A.Q
Divisor in B =0 =1
E
DIVISION
⊕
OF
Qs=As Bs EA A+B’+1 MAGNITUD
EA A+B’+1 ES
SC n-1
E =1
EA A+B’+1 A<B =0 A>=B
TESTING
OF DIVIDE EA A+B Qn 1
OVERFLOW =1 =0
CONDITION
A>=B E
A<B SC SC-1
END
END (QUOTIENT IN QR
(DIVIDE REMAINDER IN A)
OVERFLOW) Fig.1 CM303.29
5
Analysis
• The divisor is in B
•The sign of the result is transferred into Qs to
be part of the quotient.
•SC is set to specify the no. of shift & subtract
operations(n-1)
CM303.29 6
Analysis
Contd..
CM303.29 7
Analysis
Contd..
CM303.29 9
Analysis
Contd..
bit.
CM303.29 10
Analysis
Contd..
CM303.29 12
Analysis
Contd..
CM303.29 13
Summary
CM303.29 14
Frequently asked
questions
CM303.29 15
QUIZ
CM303.29 16
QUIZ
Contd..
CM303.29 17