fork download
  1. .section .data
  2. hello: .ascii "Hello World\n"
  3.  
  4. .section .text
  5.  
  6. .global _start
  7. _start:
  8. mov $4, %eax
  9. mov $1, %ebx
  10. mov $hello, %ecx
  11. mov $13, %edx
  12. int $0x80
  13.  
  14. mov $1, %eax
  15. mov $0, %ebx
  16. int $0x80
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
prog.s: Assembler messages:
prog.s:0: Warning: end of file not at end of a line; newline inserted
/home/mo4oi1/ccvHQ2Z9.o: In function `_start':
(.text+0x0): multiple definition of `_start'
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../crt1.o:(.text+0x0): first defined here
/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
stdout
Standard output is empty