fork download
  1. section .data
  2. nums db '2 4 6 8 10', 0xA
  3. len equ $ - nums
  4.  
  5. section .text
  6. global _start
  7.  
  8. _start:
  9. mov eax, 4 ; sys_write
  10. mov ebx, 1 ; stdout
  11. mov ecx, nums ; address of string
  12. mov edx, len ; length of string
  13. int 0x80 ; call kernel
  14.  
  15. ; exit
  16. mov eax, 1
  17. xor ebx, ebx
  18. int 0x80
  19.  
Success #stdin #stdout 0.01s 5284KB
stdin
Standard input is empty
stdout
2 4 6 8 10