fork(2) download
  1. section .text
  2. global _start
  3.  
  4. _start:
  5.  
  6. mov dl, 'A'
  7. mov ebx, msg
  8. call rawr
  9. rawr: pop eax
  10. add eax, 4
  11. mov [ebx], dl
  12. inc dl
  13. inc ebx
  14. cmp dl, 'J'
  15. jg print
  16.  
  17. push eax
  18. ret
  19.  
  20. print:
  21. mov edx,len
  22. mov ecx,msg
  23. mov ebx,1
  24. mov eax,4
  25. int 0x80
  26.  
  27. mov eax,1
  28. xor ebx, ebx
  29. int 0x80
  30.  
  31. section .data
  32.  
  33. msg db '0123456789',0xa
  34. len equ $ - msg
Success #stdin #stdout 0s 100KB
stdin
Standard input is empty
stdout
ABCDEFGHIJ