prevent buffer overflow, LoadString accepts the size of the buffer in TCHARs, not...
[reactos.git] / reactos / lib / rtl / i386 / aulldiv.s
1 /* $Id: aulldiv.s 12852 2005-01-06 13:58:04Z mf $
2 *
3 * COPYRIGHT: See COPYING in the top level directory
4 * PROJECT: ReactOS kernel
5 * PURPOSE: Math support for IA-32
6 * FILE: ntoskrnl/rtl/i386/aulldiv.s
7 * PROGRAMER: Eric Kohl (ekohl@rz-online.de)
8 */
9
10 /*
11 * unsigned long long
12 * __aulldiv(unsigned long long Dividend, unsigned long long Divisor);
13 *
14 * Parameters:
15 * [ESP+04h] - unsigned long long Dividend
16 * [ESP+0Ch] - unsigned long long Divisor
17 * Registers:
18 * Unknown
19 * Returns:
20 * EDX:EAX - unsigned long long quotient (Dividend/Divisor)
21 * Notes:
22 * Routine removes the arguments from the stack.
23 */
24 .globl __aulldiv
25 __aulldiv:
26 call ___udivdi3
27 ret $16
28
29 /* EOF */