1 #------------------------------------------------------------------------------
3 # Copyright (c) 2006, Intel Corporation
4 # All rights reserved. This program and the accompanying materials
5 # are licensed and made available under the terms and conditions of the BSD License
6 # which accompanies this distribution. The full text of the license may be found at
7 # http://opensource.org/licenses/bsd-license.php
9 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 # DivU64x64Remainder.asm
18 # Calculate the quotient of a 64-bit integer by a 64-bit integer and returns
19 # both the quotient and the remainder
21 #------------------------------------------------------------------------------
23 .globl ASM_PFX(InternalMathDivRemU64x32), ASM_PFX(InternalMathDivRemU64x64)
25 #------------------------------------------------------------------------------
28 # InternalMathDivRemU64x64 (
31 # OUT UINT64 *Remainder OPTIONAL
33 #------------------------------------------------------------------------------
34 ASM_PFX(InternalMathDivRemU64x64):
43 jmp ASM_PFX(InternalMathDivRemU64x32)