在VC++6.0中嵌入汇编
#include<stdio.h>int main(){ int a1 = 10, b1 = 0; _asm{ mov eax,a1 //将a1值赋给寄存器eax mov b1,eax //将eax值赋给b1 } printf("result:%d, %d\n", a1, b1); //result:10 10 retu