Hi, Something like: #define add(new) \ ({int __old; \ asm("addl %1,%0\n\t" \ :"=g"(__old) \ :"g"(new)); \ \ __old; \ }) int tst(int in) { int y; y=add(in); return y; } kevin
Hi, Something like: #define add(new) \ ({int __old; \ asm("addl %1,%0\n\t" \ :"=g"(__old) \ :"g"(new)); \ \ __old; \ }) int tst(int in) { int y; y=add(in); return y; } kevin