reactos/lib/rtl/i386/res_asm.s
Amine Khaldi 527f2f9057 [SHELL/EXPERIMENTS]
* Create a branch for some evul shell experiments.

svn path=/branches/shell-experiments/; revision=61927
2014-02-02 19:37:27 +00:00

34 lines
674 B
ArmAsm

/*
* COPYRIGHT: GNU GPL - See COPYING in the top level directory
* PROJECT: ReactOS Run-Time Library
* PURPOSE:
* FILE: lib/rtl/i386/res_asm.S
* PROGRAMER:
*/
#include <asm.inc>
#include <ks386.inc>
EXTERN _LdrpAccessResource@16:PROC
/*
* On x86, Shrinker, an executable compressor, depends on the
* "call access_resource" instruction being there.
*/
.code
PUBLIC _LdrAccessResource@16
_LdrAccessResource@16:
push ebp
mov ebp, esp
sub esp, 4
push [ebp + 24]
push [ebp + 20]
push [ebp + 16]
push [ebp + 12]
push [ebp + 8]
call _LdrpAccessResource@16
leave
ret 16
END