#include <stdio.h>
int main()
{
int a,b,c;
a=4;
b=3;
_asm
{
mov eax,a
mov ebx,b
add eax,ebx
mov c,eax
}
printf("c is %d\n",c);
}
C中加入asm
最新推荐文章于 2023-07-12 11:00:50 发布
#include <stdio.h>
int main()
{
int a,b,c;
a=4;
b=3;
_asm
{
mov eax,a
mov ebx,b
add eax,ebx
mov c,eax
}
printf("c is %d\n",c);
}