Copy wininet to branch
[reactos.git] / reactos / lib / ntdll / rtl / i386 / allrem.s
1 /* $Id$
2 *
3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS kernel
5 * PURPOSE: Math support for IA-32
6 * FILE: lib/ntdll/rtl/i386/math.s
7 * PROGRAMER: Eric Kohl (ekohl@rz-online.de)
8 * NOTES: This file is shared with ntoskrnl/rtl/i386/math.s.
9 * Please keep the files synchronized!
10 */
11
12 /*
13 * long long
14 * __allrem(long long Dividend, long long Divisor);
15 *
16 * Parameters:
17 * [ESP+04h] - long long Dividend
18 * [ESP+0Ch] - long long Divisor
19 * Registers:
20 * Unknown
21 * Returns:
22 * EDX:EAX - long long remainder (Dividend/Divisor)
23 * Notes:
24 * Routine removes the arguments from the stack.
25 */
26 .globl __allrem
27 __allrem:
28 call ___moddi3
29 ret $16
30
31 /* EOF */