.section .text .global incnumber incnumber: push %ebp mov %esp, %ebp mov 8(%ebp), %eax inc %eax pop %ebp ret
Standard input is empty
prog.s: Assembler messages: prog.s:0: Warning: end of file not at end of a line; newline inserted /usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../crt1.o: In function `_start': (.text+0x18): undefined reference to `main' collect2: ld returned 1 exit status
Standard output is empty