int test(int arg) { register long val asm ("ebp") = arg; asm ("int 0x80"); return arg-val; }