Advertisement
hugol

Untitled

Oct 23rd, 2014
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MPASM 0.29 KB | None | 0 0
  1. .686
  2. .model flat
  3. extern _ExitProcess@4 : PROC
  4. extern __write : PROC
  5.  
  6. public _main
  7. .data
  8.  
  9.  
  10. text1 db 0A8h, 'dward', 0Ah, 0h
  11.  
  12. .code
  13. _main:
  14.  
  15. push LENGTHOF text1  ;dlugosc textu
  16.  
  17. push dword PTR OFFSET text1
  18. push 1
  19.  
  20. call __write
  21.  
  22. push dword PTR 0
  23. call _ExitProcess@4
  24. END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement