fork download
  1. global _start
  2.  
  3. section .data
  4. hello db 'Hello, World',0
  5.  
  6. section .text
  7.  
  8.  
  9. _start:
  10. mov eax, 4 ; the system interprets 4 as "write"
  11. mov ebx, 1 ; standard output (print to terminal)
  12. mov ecx, hello ; pointer to the value being passed
  13. mov edx, 5 ; length of output (in bytes)
  14. mov dl,"-"
  15. int 0x80 ; call the kernel
  16.  
Runtime error #stdin #stdout 0.01s 144KB
stdin
Standard input is empty
stdout
Hello, World.symtab.strtab.shstrtab.text