Advertisement
Guest User

Untitled

a guest
Aug 24th, 2019
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. start:
  2.  
  3.           cinvoke scanf, <"%s", 0>, string
  4.  
  5.           xor ebx, ebx
  6.           xor ecx, ecx
  7.  
  8.           mov cx, 256
  9.  
  10.    L_Repeat:
  11.  
  12.           xor eax, eax
  13.           mov al, [string + ecx]
  14.  
  15.           mov byte[string + ebx], al
  16.  
  17.           dec cl
  18.           inc bl
  19.  
  20.           cmp cl, 0
  21.           jne L_Repeat
  22.  
  23.           cinvoke  printf, string
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement