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

From: Groepaz <groepaz_at_gmx.net>
Date: Fri, 18 Feb 2011 14:27:29 +0100
Message-Id: <201102181427.29997.groepaz@gmx.net>
On Freitag 18 Februar 2011, you wrote:
> Can you have a look at this, please:
...
> I know it works, I even wrote a small Pascal program to emulate the
> above. I had to because I wasn't sure what was stored in which variable.
> 
> My problem: I haven't any idea how it works. I look at it but cannot
> understand it. I even haven't any idea where to start! Can anybody
> explain the above, please?

its just a binary division :) look at this one: 
http://codebase64.org/doku.php?id=base:16bit_division_16-bit_result which is 
similar and has some comments. (to understand, think of how you divide on 
paper, and imagine doing it in binary)

gpz

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

Archive generated by hypermail 2.2.0.