EXTERN_C void _stdcall Asm_1();//在cpp文件下 要使用EXTERN_C

 .
.MODEL FLAT,C,stdcall
.DATA
.CODE
Asm_1 PROC
push ebp
mov ebp,esp
sub esp,40h
push ebx
push esi
push edi xor eax,eax pop edi
pop esi
pop ebx
add esp,40h
pop ebp
ret
Asm_1 ENDP
END
05-21 09:58