AcornSearch - Acorn and RISC OS information searching
RISC OS Search
containing
"Nutty quip goes here!"
Home  |  About  |  Filebase Archive  |  StrongHelp Manuals  |  Newsgroups  |  Module Database
Entry
     R2 = Numerator
     R3 = Denominator
Exit
     R0 = Result
     R2 = Remainder

Returns (R2 DIV R3) in R0 and (R2 MOD R3) in R2. Useful for calculating which area of window needs to be updated. An error is produced if R3 is zero on entry.

Provided by Kernel

[sh-index] Back to list of manuals