blob: 6b6044b50d3ec45a6893ea848df259a4fe8380e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
; Licensed to the .NET Foundation under one or more agreements.
; The .NET Foundation licenses this file to you under the MIT license.
; See the LICENSE file in the project root for more information.
; ==++==
;
;
; ==--==
;
; *** NOTE: If you make changes to this file, propagate the changes to
; gmsasm.s in this directory
.586
.model flat
include asmconstants.inc
option casemap:none
.code
; int __fastcall LazyMachStateCaptureState(struct LazyMachState *pState);
@LazyMachStateCaptureState@4 proc public
mov [ecx+MachState__pRetAddr], 0 ; marks that this is not yet valid
mov [ecx+MachState__edi], edi ; remember register values
mov [ecx+MachState__esi], esi
mov [ecx+MachState__ebx], ebx
mov [ecx+LazyMachState_captureEbp], ebp
mov [ecx+LazyMachState_captureEsp], esp
mov eax, [esp] ; capture return address
mov [ecx+LazyMachState_captureEip], eax
xor eax, eax
retn
@LazyMachStateCaptureState@4 endp
end
|