Advertisement
hugol

32

Nov 26th, 2014
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .686
  2. .model flat
  3. extern _ExitProcess@4 : PROC
  4.  
  5. extern __write : PROC
  6. extern __read : PROC
  7.  
  8. public _main
  9. .data
  10.    
  11.     liczba dd 12345678h
  12. .code
  13.  
  14. _main:
  15.    
  16.     mov eax, 125
  17.  
  18.     mov ecx, 0
  19.     mov ebx, 10
  20.  
  21.     rob:
  22.     xor edx,edx
  23.     div ebx
  24.  
  25.     add ecx, edx
  26.     test eax, eax
  27.     jnz rob
  28.  
  29.  
  30.     push 0
  31.     call _ExitProcess@4 ; zakończenie programu
  32. END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement