utility.library/UMult64

Previous:
utility.library/UMult32
TOC:
Table of Contents
Index:
All Documents
Next:
utility.library/UnpackStructureTags

     Title:
UMult64 -- unsigned 32 by 32 bit multiply with 64 bit result. (V39)
     Synopsis:
result = UMult64(arg1,arg2);
D0:D1               D0   D1

ULONG UMult64(ULONG,ULONG);
     Function:
Returns the unsigned 64 bit result of multiplying arg1 by arg2.
     Parameters:
arg1, arg2 - numbers to multiply
     Results:
result - the unsigned 64 bit result of multiplying arg1 by arg2.
     Please note:
Unlike other Amiga library function calls, the utility.library
32 bit math routines do NOT require A6 to be loaded with a
pointer to the library base. A6 can contain anything the application
wishes. This is in order to avoid overhead in calling them.

In addition, the utility.library math routines preserve all
address registers including A0 and A1
     Related topics:
SDivMod32(), SMult32(), UDivMod32(), SMult64()

Browse your own file: