SlideShare a Scribd company logo
Start
n <- no. of bits
M<- Divisor
A<- 0
Q<- Dividend
Sign bit
of A?
Shift Left AQ
A = A + M
Shift Left AQ
A = A - M
=0
=1
Sign bit of
A?
Q0 <- 0
Q0 <- 1
n = n-1
Is n = 0?
Yes
Sign bit of
A?
No
Quotient in Q and
Remainder in A
Stop
A = A-M
=0
=1
=1
=0
11(Dividend) /3 (Divisor) = 3 (Quotient) and 2 (Remainder)
• M (Divisor) = 3 = 00011
• -M= 11101
• Q (Dividend) =11 = 1011
• A (Accumulator) =0 =00000
Tracing
n M A Q Action/Comment
4 00011 00000 1011 Initialization
00001 011_ SL
AQ
11110 011_ A = A - M
3 11110 0110 Q0 <- 0
11100 110_ SL
AQ
11111 110_ A = A+M
2 11111 1100 Q0 <- 0
11111 100_ SL
AQ
00010 100_ A = A+M
1 00010 1001 Q0 <- 1
00101 001_ SL
Result
Quotient in Q
(0011)2 => 310
Remainder in A
Remainder in A
(00010)2 => 210
Result

More Related Content

PPT
ip addressing _
PPT
stop and wait _
PPT
PPT
subnetting _
PPT
PipelineHazards _
PPT
Pipelining _
PPTX
Mobile Customer Experience Management.pptx
PPTX
Social Web multimedia analytics goals _
ip addressing _
stop and wait _
subnetting _
PipelineHazards _
Pipelining _
Mobile Customer Experience Management.pptx
Social Web multimedia analytics goals _

More from SwatiHans10 (20)

PPTX
Hardwires and Microprogrammed Control ,
PPTX
Restoring Algorithm _
PPTX
loops _
PPT
functions _
PDF
Instruction execution cycle _
PPT
RTL,Instruction set _
PPT
Data representation _
PPTX
CAO PPT-Lect 1 _
PPTX
CIRCULAR LINKED LIST _
PPT
Transmission control protocol _
PPTX
Numpy _
PPTX
Lecture 1 .
PPTX
ip addressing _
PPT
intranet _
PPTX
routing algo n
PPT
ethernet nn
PPT
Transmission control protocol ...............................
PPT
search_sort.ppt
PPTX
analytics platform
PPTX
Hardwires and Microprogrammed Control ,
Restoring Algorithm _
loops _
functions _
Instruction execution cycle _
RTL,Instruction set _
Data representation _
CAO PPT-Lect 1 _
CIRCULAR LINKED LIST _
Transmission control protocol _
Numpy _
Lecture 1 .
ip addressing _
intranet _
routing algo n
ethernet nn
Transmission control protocol ...............................
search_sort.ppt
analytics platform
Ad

Recently uploaded (20)

PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
CH1 Production IntroductoryConcepts.pptx
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
Lecture Notes Electrical Wiring System Components
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PPTX
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
additive manufacturing of ss316l using mig welding
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPTX
web development for engineering and engineering
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
CYBER-CRIMES AND SECURITY A guide to understanding
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
PPTX
Construction Project Organization Group 2.pptx
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
CH1 Production IntroductoryConcepts.pptx
UNIT-1 - COAL BASED THERMAL POWER PLANTS
Lecture Notes Electrical Wiring System Components
Foundation to blockchain - A guide to Blockchain Tech
MET 305 2019 SCHEME MODULE 2 COMPLETE.pptx
R24 SURVEYING LAB MANUAL for civil enggi
additive manufacturing of ss316l using mig welding
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
Embodied AI: Ushering in the Next Era of Intelligent Systems
web development for engineering and engineering
Operating System & Kernel Study Guide-1 - converted.pdf
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
CYBER-CRIMES AND SECURITY A guide to understanding
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Construction Project Organization Group 2.pptx
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
Ad

Non -Restoring Algorithm _

  • 1. Start n <- no. of bits M<- Divisor A<- 0 Q<- Dividend Sign bit of A? Shift Left AQ A = A + M Shift Left AQ A = A - M =0 =1 Sign bit of A? Q0 <- 0 Q0 <- 1 n = n-1 Is n = 0? Yes Sign bit of A? No Quotient in Q and Remainder in A Stop A = A-M =0 =1 =1 =0
  • 2. 11(Dividend) /3 (Divisor) = 3 (Quotient) and 2 (Remainder) • M (Divisor) = 3 = 00011 • -M= 11101 • Q (Dividend) =11 = 1011 • A (Accumulator) =0 =00000
  • 3. Tracing n M A Q Action/Comment 4 00011 00000 1011 Initialization 00001 011_ SL AQ 11110 011_ A = A - M 3 11110 0110 Q0 <- 0 11100 110_ SL AQ 11111 110_ A = A+M 2 11111 1100 Q0 <- 0 11111 100_ SL AQ 00010 100_ A = A+M 1 00010 1001 Q0 <- 1 00101 001_ SL
  • 4. Result Quotient in Q (0011)2 => 310 Remainder in A Remainder in A (00010)2 => 210 Result