reactos/dll/win32/oleaut32/msvc.S
Amine Khaldi 9fa710c813 * Sync with recent trunk (r52637).
svn path=/branches/GSoC_2011/ThemesSupport/; revision=52643
2011-07-11 19:40:43 +00:00

30 lines
450 B
ArmAsm

#include <asm.inc>
.code32
PUBLIC _call_method
_call_method:
push ebp
mov ebp, esp
push esi
push edi
mov edx, dword ptr ds:[ebp + 12]
shl edx, 2
jz cm1
sub esp, edx
and esp, HEX(0FFFFFFF0)
mov ecx, dword ptr ds:[ebp + 12]
mov esi, dword ptr ds:[ebp + 16]
mov edi, esp
cld
rep movsd
cm1:
call dword ptr ds:[ebp + 8]
lea esp, [ebp - 8]
pop edi
pop esi
pop ebp
ret
END