TianoCore EDK2
master
Loading...
Searching...
No Matches
DivU64x32.c
Go to the documentation of this file.
1
23
UINT64
24
EFIAPI
25
InternalMathDivU64x32
(
26
IN
UINT64 Dividend,
27
IN
UINT32 Divisor
28
)
29
{
30
_asm {
31
mov eax, dword ptr [Dividend + 4]
32
mov ecx, Divisor
33
xor edx, edx
34
div ecx
35
push eax ; save quotient on stack
36
mov eax, dword ptr [Dividend]
37
div ecx
38
pop edx ; restore high-order dword of the quotient
39
}
40
}
InternalMathDivU64x32
UINT64 EFIAPI InternalMathDivU64x32(IN UINT64 Dividend, IN UINT32 Divisor)
Definition:
DivU64x32.c:25
IN
#define IN
Definition:
Base.h:279
MdePkg
Library
BaseLib
Ia32
DivU64x32.c
Generated on Fri Nov 15 2024 18:01:17 for TianoCore EDK2 by
1.9.6