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 eax, 4
  16. mov ebx, 1
  17. mov ecx, namemsg
  18. mov edx, namemsglen
  19. int 0x80
  20.  
  21. mov eax, 1
  22. mov ebx, 0
  23. int 0x80
  24.  
  25. section .data
  26. welmsg db "Hello and welcome to this random app", 0x0a
  27. len equ $ - welmsg
  28. namemsg db "Please input your name: "
  29. namemsglen equ $-namemsg
Success #stdin #stdout 0.01s 5284KB
stdin
Standard input is empty
stdout
Hello and welcome to this random app
Please input your name: