]>
Commit | Line | Data |
---|---|---|
b6bd81d4 | 1 | #------------------------------------------------------------------------------ |
2 | # | |
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 | |
8 | # | |
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. | |
11 | # | |
12 | # Module Name: | |
13 | # | |
14 | # SetMem64.Asm | |
15 | # | |
16 | # Abstract: | |
17 | # | |
18 | # SetMem64 function | |
19 | # | |
20 | # Notes: | |
21 | # | |
22 | #------------------------------------------------------------------------------ | |
23 | ||
24 | .386: | |
25 | .code: | |
26 | ||
27 | .global InternalMemSetMem64 | |
28 | InternalMemSetMem64: | |
29 | push %edi | |
30 | movl 12(%esp),%ecx | |
31 | movl 16(%esp),%eax | |
32 | movl 20(%esp),%edx | |
33 | movl 8(%esp),%edi | |
34 | L0: | |
8960cdeb | 35 | mov %eax,-8(%edi,%ecx,8) |
36 | mov %edx,-4(%edi,%ecx,8) | |
b6bd81d4 | 37 | loop L0 |
38 | movl %edi,%eax | |
39 | pop %edi | |
40 | ret |