How do i stop vc++ from adding default inline codes at the start and end of functions?
e.g. my code
__declspec(dllexport) __stdcall XY(ST1*param1){
__asm{
mov ecx, 0x06;
mov esi, [param1];
mov edi, [local1];
rep movsd;
}
} gets converted into
_XY@4:
push ebp
mov ebp,esp
push ebx
push esi
push edi
mov ecx,00000006h
mov esi,[ebp+08h]
mov edi,[L100075C0]
rep movsd
pop edi
pop esi
pop ebx
pop ebp
retn 0004h
I mean...i know it needs those...but i want to do them manually.
Thanks
win Xp, Visual c++ 6.0