Ledger Nano X - The secure hardware wallet
SHARE
TWEET

Untitled

a guest Mar 28th, 2020 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #sortiranje niza
  2. #Ime Pre zime
  3. .section .data
  4. niz: .ascii "pera_peric\0"
  5. n:.long 0
  6. .section .text
  7. .globl main
  8. main:
  9. movl $0,%esi
  10. movl $niz,%eax
  11.  
  12. lenght:
  13. cmpb $0,(%eax)
  14. je setup
  15. incl %esi
  16. incl %eax
  17. jmp lenght
  18.  
  19. setup:
  20. movl %esi,n
  21.  
  22. while:
  23. subl $1,%eax
  24. jz end
  25. movl n,%esi
  26.  
  27. inner_while:
  28. subl $1,%esi
  29. jz while
  30.  
  31. movb -1(%eax),%cl
  32. movb (%eax),%dl
  33. cmpb %cl,%dl
  34. jle chg
  35. jmp inner_while
  36.  
  37. chg:
  38. movb %cl,(%eax)
  39. movb %dl,-1(%eax)
  40. jmp inner_while
  41.  
  42.  
  43. end:
  44. movl $1,%eax
  45. movl $0,%ebx
  46. int $0x80
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top