fork download
  1. section .text
  2.  
  3. global _start
  4.  
  5. _start:
  6.  
  7. mov eax, 4
  8. mov ebx, 1
  9. mov ecx, welmsg
  10. mov edx, len
  11. int 0x80
  12.  
  13. xor ecx, ecx
  14. xor edx, edx
  15. mov ecx, namemsg
  16. mov edx, namemsglen
  17. int 0x80
  18.  
  19. mov eax, 1
  20. mov ebx, 0
  21. int 0x80
  22.  
  23. section .data
  24. welmsg db "Hello and welcome to this random app"
  25. len equ $ - welmsg
  26. namemsg db "Please input your name: "
  27. namemsglen equ $-namemsg
Success #stdin #stdout 0.01s 5284KB
stdin
Standard input is empty
stdout
Hello and welcome to this random app