.file "hello.c" .globl _msg .section .rdata,"dr" _msg: .ascii "Hello, world\12\0" .def ___main; .scl 2; .type 32; .endef .text .globl _main .def _main; .scl 2; .type 32; .endef _main: pushl %ebp movl %esp, %ebp subl $8, %esp andl $-16, %esp movl $0, %eax addl $15, %eax addl $15, %eax shrl $4, %eax sall $4, %eax movl %eax, -4(%ebp) movl -4(%ebp), %eax call __alloca call ___main /APP pushl $_msg call _printf addl $4, %esp /NO_APP movl $0, %eax leave ret