console: __stdcall function must preserve ebx register

git-svn-id: svn://kolibrios.org@6067 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
Sergey Semyonov (Serge) 2016-01-17 23:55:03 +00:00
parent 3d94132d09
commit 73fdb3cb47

View File

@ -17,11 +17,13 @@ START:
; evident heap initialization, because if DLL is loaded, heap is already initialized ; evident heap initialization, because if DLL is loaded, heap is already initialized
; (if heap was not initialized, loader does this implicitly). ; (if heap was not initialized, loader does this implicitly).
; So this action does nothing useful, but nothing harmful. ; So this action does nothing useful, but nothing harmful.
push ebx
push 68 push 68
pop eax pop eax
push 11 push 11
pop ebx pop ebx
int 0x40 int 0x40
pop ebx
or eax, -1 or eax, -1
ret 4 ret 4