# include int main() { int i=0; int cnt; for (cnt=0; cnt < 10; cnt++) { asm("addl $1, %0" : "+g" (i)); printf("i = %d\n", i); } return 0; }