Arithmetic 97 The example does not include routines for testing and handling - signs • division by zero • exponents • overflow • rounding These have to be handled in a real program before or after the division algorithm itself (as appropriate). tor quotient word for quotient word 2 for quotient word ~ SOURCE Quotie~t 3: SOURCE Quotient 4: +n~ quotiEfi~ word 4 for quotient word 1 ::;C1tJ~:C: t: :"1 :;;~ 1 SGJRCE QuotIent r~r= ~=;C~l..JF~C:t: L:~ i 1:. ~"'i START OF DIVISION LOOP ;-'i~: .'1 It; ::.3.:::.:::' ::::: :=':::r"': ~.,: r.E'!"-'rnl r-i·3.1:. i :::r-~~ ZE,tH·C:
~nplemEfit the dividend ~IH Digit counter Initializes digit CC0nt to ,~ Initialize FIN repE~ition counter to =:+ ORKS ON NEXT QUOTIENT DIGIT -.;. .; ---..!. t-i:_: 1.'