.file "demo1.c" .intel_syntax .globl _x .bss .align 4 _x: .space 4 .def ___main; .scl 2; .type 32; .endef .section .rdata,"dr" LC0: .ascii "%d\12\0" .text .globl _main .def _main; .scl 2; .type 32; .endef _main: push ebp mov ebp, esp sub esp, 24 and esp, -16 mov eax, 0 add eax, 15 add eax, 15 shr eax, 4 sal eax, 4 mov DWORD PTR [ebp-4], eax mov eax, DWORD PTR [ebp-4] call __alloca call ___main mov DWORD PTR _x, 42 /APP push eax mov eax, _x add eax, 1 mov _x, eax pop eax /NO_APP mov eax, DWORD PTR _x mov DWORD PTR [esp+4], eax mov DWORD PTR [esp], OFFSET FLAT:LC0 call _printf mov eax, 0 leave ret .def _printf; .scl 3; .type 32; .endef