mirror of
https://github.com/reactos/reactos.git
synced 2024-10-31 11:56:26 +00:00
4f0b8d3db0
svn path=/branches/ntvdm/; revision=59241
34 lines
674 B
ArmAsm
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
|