source: trunk/src/msvcrt/util.asm@ 5120

Last change on this file since 5120 was 4478, checked in by sandervl, 25 years ago

put writelog call in IFDEF

File size: 764 bytes
Line 
1 .386p
2 .model flat
3
4CONST32 segment dword use32 public 'CONST'
5 align 04h
6label1 db "MSVCRT: EH_prolog",0ah, 0h
7CONST32 ends
8
9 .code
10
11 extrn WriteLog:proc
12 public _MSVCRT__EH_prolog
13
14 align 4
15_MSVCRT__EH_prolog:
16 push eax
17 push ecx
18 push edx
19 pushfd
20IFDEF DEBUG
21 push offset FLAT:label1
22 call WriteLog
23 add esp,04h
24ENDIF
25 popfd
26 pop edx
27 pop ecx
28 pop eax
29
30 push 0FFh
31 push eax
32 mov eax,fs:[00000000]
33 push eax
34 mov eax,dword ptr [esp+0Ch]
35 mov dword ptr fs:[0],esp
36 mov dword ptr [esp+0Ch],ebp
37 lea ebp,[esp+0Ch]
38 push eax
39 ret
40
41 end
Note: See TracBrowser for help on using the repository browser.