fork download
  1.  
  2. section .data
  3. msg db 30h,30h
  4.  
  5. section .text
  6. global _start
  7.  
  8. _start:
  9. xor eax, eax
  10. xor ecx, ecx
  11. xor edx, edx
  12. xor ebx, ebx
  13.  
  14. mov cl, 5
  15.  
  16. ccc:
  17. add ax, cx
  18. loop ccc
  19.  
  20. aaa
  21.  
  22. mov dl, al
  23. and dl, 0f0h
  24. ; shr dl, 4
  25. mov ah, dl
  26. and al, 0fh
  27.  
  28. ; xchg al, ah
  29.  
  30. add [msg], ax
  31.  
  32. mov dl, 2
  33. mov ecx, msg
  34. mov bl, 1
  35. mov ax, 4
  36. int 80h
  37.  
  38. je exit
  39. exit:
  40. mov eax, 01h ; exit()
  41. xor ebx, ebx ; errno
  42. int 80h
  43.  
Success #stdin #stdout 0s 5300KB
stdin
Standard input is empty
stdout
50