Re: A82: Dividing and remainders


[Prev][Next][Index][Thread]

Re: A82: Dividing and remainders



No, since it is located in the same place for all rom versions, you should
use call $A2. I have not looked at it for some time know, but i think it
is HL/A, Reminder in A and result in HL. 

Dines

_______________________________________

Dines Justesen
Email: dines@post1.com or
       c958362@student.dtu.dk
WWW  : http://www.gbar.dtu.dk/~c958362/
_______________________________________

On Tue, 25 Nov 1997, ilya winham wrote:

> Dines Christy Justesen wrote:
> > 
> > The rom actually contains a rutine which can be used for divinding two
> > numbers, and it is located in the same location on all rom versions. The
> > functions is placed at app. A2h.
> > 
> 
> So...ROM_CALL($A2h-$1Ah) ????
> and what does it do? a/b with answer in a? remainder in b? what?
> 
> 


References: