Re: A89: division in asm


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

Re: A89: division in asm




Johan wrote:
> The 68000 can *only* divide a LONG by a WORD. The result must fit in a
> word,
> otherwise you'll get an overflow. Division by zero should be avoided :)

shiess..  you are right..  I read to fast in the manual.. :)
long by long is only cpu32, and 68020 and up...

blowhole, divide a long by a word as johan sais and use only the lower word of
the result and you will get what you want anyway :)

//Olle


References: