Guest User

Untitled

a guest
May 5th, 2021
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. section .text
  2. global _start
  3.  
  4. _start:
  5. mov edx, 1
  6. mov ecx, liczby-1
  7. mov esi, 10
  8.  
  9. loo:
  10. inc ecx
  11.  
  12. dec esi
  13. cmp esi, 0
  14. je koniec
  15.  
  16. mov dil, byte[ecx]
  17. and dil, 1
  18. cmp dil, 1
  19. jne loo
  20.  
  21. mov ebx, 1
  22. mov eax, 4
  23. int 0x80
  24.  
  25. jmp loo
  26.  
  27. koniec:
  28. mov eax, 1
  29. int 0x80
  30.  
  31. section .data
  32. liczby db '1', '2', '3', '4', '5', '6', '7', '8', '9'
  33.  
Advertisement
Add Comment
Please, Sign In to add comment