Advertisement
Guest User

Untitled

a guest
Dec 4th, 2016
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. 12
  3. 13
  4. 14
  5. 15
  6. 16
  7. 17
  8. 18
  9. 19
  10. 20
  11. 21
  12. 22
  13. 23
  14. 24
  15. 25
  16. 26
  17. 27
  18. 28
  19. 29
  20. 30
  21. 31
  22. .486
  23. .model flat, stdcall
  24. option casemap: none
  25.  
  26. include /masm32/include/windows.inc
  27. include /masm32/include/user32.inc
  28. include /masm32/include/kernel32.inc
  29.  
  30. includelib /masm32/lib/user32.lib
  31. includelib /masm32/lib/kernel32.lib
  32.  
  33. include /masm32/macros/macros.asm
  34. uselib masm32, comctl32, ws2_32
  35.  
  36. .data
  37.  
  38. .code
  39. start:
  40.  
  41. call GetCommandLine ; результат будет помещен в eax
  42.  
  43. push 0
  44. push chr$("Command Line")
  45. push eax ; текст для вывода берем из eax
  46. push 0
  47. call MessageBox
  48.  
  49. push 0
  50. call ExitProcess
  51.  
  52. end start
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement