1 ;------------------------------------------------------------------------------
3 ; Copyright (c) 2006 - 2008, Intel Corporation. All rights reserved.<BR>
4 ; SPDX-License-Identifier: BSD-2-Clause-Patent
16 ; The following BaseMemoryLib instances contain the same copy of this file:
24 ;------------------------------------------------------------------------------
29 ;------------------------------------------------------------------------------
32 ; InternalMemCompareMem (
33 ; IN CONST VOID *DestinationBuffer,
34 ; IN CONST VOID *SourceBuffer,
37 ;------------------------------------------------------------------------------
38 global ASM_PFX(InternalMemCompareMem)
39 ASM_PFX(InternalMemCompareMem):
46 movzx rax, byte [rsi - 1]
47 movzx rdx, byte [rdi - 1]