This commit was manufactured by cvs2svn to create branch 'captive'.
[reactos.git] / ntoskrnl / rtl / i386 / aullrem.s
diff --git a/ntoskrnl/rtl/i386/aullrem.s b/ntoskrnl/rtl/i386/aullrem.s
new file mode 100644 (file)
index 0000000..4789182
--- /dev/null
@@ -0,0 +1,29 @@
+/* $Id$
+ *
+ * COPYRIGHT:         See COPYING in the top level directory
+ * PROJECT:           ReactOS kernel
+ * PURPOSE:           Math support for IA-32
+ * FILE:              ntoskrnl/rtl/i386/aullrem.s
+ * PROGRAMER:         Eric Kohl (ekohl@rz-online.de)
+ */
+
+/*
+ * unsigned long long
+ * __aullrem(unsigned long long Dividend, unsigned long long Divisor);
+ *
+ * Parameters:
+ *   [ESP+04h] - unsigned long long Dividend
+ *   [ESP+0Ch] - unsigned long long Divisor
+ * Registers:
+ *   Unknown
+ * Returns:
+ *   EDX:EAX - unsigned long long remainder (Dividend%Divisor)
+ * Notes:
+ *   Routine removes the arguments from the stack.
+ */
+.globl __aullrem
+__aullrem:
+       call    ___umoddi3
+       ret     $16
+
+/* EOF */