RE: 'Divide by A' procedure in 90x0 ROM

From: Baltissen, GJPAA (Ruud) <ruud.baltissen_at_apg.nl>
Date: Fri, 18 Feb 2011 15:03:31 +0100
Message-ID: <B33CBAA5B1C897429CEE13DB2F3590D034FF8E@winsv284.office01.internalcorp.net>
Hallo Groepaz,


> look at this one: ....

Didn't help me either :(


> think of how you divide on paper, 

I made a routine once according this: I shifted the divisor n times to
the left, stored it and tried to substarct this value from the input.
Then I shifted the stored value to the right once and tried to substract
it again. I did this n times. IMHO this is the same way as doing it on
paper.

Here is only one shift operation going on. The only thing I can imagine
(even more then just imagine) that this routine is the bottom-up
approach of the division on paper. And THAT is something I can
understand :)

Many thanks!


--
     ___
    / __|__
   / /  |_/     Groetjes, Ruud
   \ \__|_\
    \___|       URL: Ruud.C64.org


 

De informatie in dit e-mailbericht is vertrouwelijk en uitsluitend bestemd voor de 
geadresseerde. Wanneer u dit bericht per abuis ontvangt, verzoeken wij u contact op te 
nemen met de afzender per kerende e-mail. Verder verzoeken wij u in dat geval dit 
e-mailbericht te vernietigen en de inhoud ervan aan niemand openbaar te maken. 
Wij aanvaarden geen aansprakelijkheid voor onjuiste, onvolledige dan wel ontijdige 
overbrenging van de inhoud van een verzonden e-mailbericht, noch voor daarbij 
overgebrachte virussen.

APG Algemene Pensioen Groep NV is gevestigd te Heerlen en is ingeschreven in het 
handelsregister van de Kamer van Koophandel Limburg onder nummer 14099617


The information contained in this e-mail is confidential and may be privileged. 
It may be read, copied and used only by the intended recipient. 
If you have received it in error, please contact the sender immediately by 
return e-mail; please delete in this case the e-mail and do not disclose it's 
contents to any person. We don't accept liability for any errors, omissions, 
delays of receipt or viruses in the contents of this message which arise as a 
result of e-mail transmission.

APG Algemene Pensioen Groep NV is registered in the trade register of the Chamber 
of Commerce Limburg, The Netherlands, registration number: 14099617


       Message was sent through the cbm-hackers mailing list
Received on 2011-02-18 15:00:14

Archive generated by hypermail 2.2.0.