TianoCore EDK2 master
Loading...
Searching...
No Matches
ModU64x32.c
Go to the documentation of this file.
1
23UINT32
24EFIAPI
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 mov eax, dword ptr [Dividend + 0]
36 div ecx
37 mov eax, edx
38 }
39}
UINT32 EFIAPI InternalMathModU64x32(IN UINT64 Dividend, IN UINT32 Divisor)
Definition: ModU64x32.c:25
#define IN
Definition: Base.h:279