[Contents] [Index] [Help] [Retrace] [Browse <] [Browse >]


   NAME
        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.

   INPUTS
        arg1, arg2 - numbers to multiply

   RESULTS
        result - the unsigned 64 bit result of multiplying arg1 by arg2.

   NOTES
        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

   SEE ALSO
        sdivmod32(), smult32(), udivmod32(), smult64()