fork download
  1. segment .data
  2. digit db 0,10
  3.  
  4. segment .text
  5. global _start
  6. _start:
  7. push 4
  8. push 3
  9. push 2
  10. push 1
  11.  
  12. pop rax
  13. call _print
  14. pop rax
  15. call _print
  16. pop rax
  17. call _print
  18. pop rax
  19. call _print
  20.  
  21. mov rax, 60
  22. mov rdi, 0
  23. syscall
  24.  
  25. _print:
  26. add rax, 48
  27. mov [digit], al
  28.  
  29. mov rax, 1
  30. mov rdi, 1
  31. mov rsi, digit
  32. mov rdx, 2
  33. syscall
  34. ret
Success #stdin #stdout 0.01s 5460KB
stdin
Standard input is empty
stdout
1
2
3
4