int main()
{
int a = 1;
int c = 2;
int b;
__asm
{
MOV EAX, a;
MOV EBX, c;
ADD EAX, EBX;
MOV b, EAX;
}
cout << "b = " << b << endl;
cout << "a = " << a << endl;
cout << "c = " << c << endl;
}
转载于:https://www.cnblogs.com/xpylovely/p/11209804.html