1 ;------------------------------------------------------------------------------
3 ; Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
4 ; SPDX-License-Identifier: BSD-2-Clause-Patent
16 ;------------------------------------------------------------------------------
21 ;------------------------------------------------------------------------------
29 ;------------------------------------------------------------------------------
30 global ASM_PFX(InternalMemSetMem)
31 ASM_PFX(InternalMemSetMem):
33 mov rax, r8 ; rax = Value
34 mov rdi, rcx ; rdi = Buffer
35 xchg rcx, rdx ; rcx = Count, rdx = Buffer
37 mov rax, rdx ; rax = Buffer