2 // Include common header file for this module.
4 #include "CommonHeader.h"
6 #------------------------------------------------------------------------------
8 # Copyright (c) 2006, Intel Corporation
9 # All rights reserved. This program and the accompanying materials
10 # are licensed and made available under the terms and conditions of the BSD License
11 # which accompanies this distribution. The full text of the license may be found at
12 # http://opensource.org/licenses/bsd-license.php
14 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
15 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
19 # DivU64x64Remainder.asm
23 # Calculate the quotient of a 64-bit integer by a 64-bit integer and returns
24 # both the quotient and the remainder
26 #------------------------------------------------------------------------------
28 .globl ASM_PFX(InternalMathDivRemU64x32), ASM_PFX(InternalMathDivRemU64x64)
30 #------------------------------------------------------------------------------
33 # InternalMathDivRemU64x64 (
36 # OUT UINT64 *Remainder OPTIONAL
38 #------------------------------------------------------------------------------
39 ASM_PFX(InternalMathDivRemU64x64):
48 jmp ASM_PFX(InternalMathDivRemU64x32)