| Q D E V _ H L P _ A S M D I V U ( )
| | | | | SOURCE: qdev_macros.txt 1.16 (12/09/2014) English AMIGA - PUBLIC
----------------------------------------------------------------------------
NAME
QDEV_HLP_ASMDIVU() - Allows to divide 64 bit integer
by the 32 bit one.
SYNOPSIS
res = QDEV_HLP_ASMDIVU(q, r, n1, n0, d);
QDEV_HLP_ASMDIVU(
[ULONG], [ULONG], [ULONG], [ULONG], [ULONG]);
FUNCTION
This macro is a direct assembly instruction alias who
allows to divide unsigned, 64 bit int. by the 32 bit
divisor. The result in a 32 bit quotient, and 32 bit
reminder.
INPUTS
q - Quotient to be computed.
r - Remainder to be computed.
n1 - Most significant 32 bits of the dividend.
n0 - Least significant 32 bits of the dividend.
d - Divisor.
RETURNS
No output.
BASES
None.
NOTES
Code generated using this macro will only function OK
on 68020 onwards!
This macro requires that some operands to be prepared
by the first stage division in case 64 bit result is
to be expected!
SEE ALSO
QDEV_HLP_ASMDIVU(),
QDEV_HLP_DIVUQUAD(), QDEV_HLP_MULUQUAD()
EXAMPLE
None.
BUGS
None known.
----------------------------------------------------------------------------
| |
| |