// Only works without the optimizer! #include int main(){ int x = 27; asm( "movl $7, -0x4(%rbp) \n" ); printf("x = %d\n", x); return 0; }