int main() { int a = 10; int b = 20; __asm { fild a ;// ST0=10 fild b ;// ST1=10, ST0=20 fistp b ;// b=20; fistp b ;// b=10; } return 0; }