AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
=>     R0 = numerator
     R1 = denominator

<=     R0 = R0 DIV R1 
     R1 corrupted.
     R2 = R0 MOD R1
     R3 corrupted if the denominator is greater than 32.

This SWI performs fast division and modulo functions. For speed, it does
not cope with negative numbers. As the SWI overhead may be significant
for this routine you may wish to find its address and call it directly -
ZapRedraw_Version allows this.


[sh-index] Back to list of manuals