#include<stdio.h> int main() { int A; _asm{ mov eax,10000h add eax,40000h sub eax,20000h } A=eax; printf("EAX=%d",A); return 0; }
#include<stdio.h> int main() { int a; __asm { mov EAX , 1000 mov a,EAX } printf("%d",a); return 0; }