Advertisement
Xetos

Hello Word!

Apr 14th, 2016
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. TITLE Hello, Assembly! (32 bites)
  2. INCLUDE Irvine32.inc
  3.  
  4. .data
  5.     HelloTxt    BYTE    "Hello, Assembly!", 0ah, 0
  6.     A           DWORD   5
  7.  
  8. .code
  9. ; Belépési pont
  10. main PROC
  11.     MOV     EDX,OFFSET HelloTxt
  12.     CALL    WriteString
  13.  
  14.     MOV     EAX,7
  15.     ADD     EAX,A
  16.     CALL    WriteDec
  17.  
  18.     INVOKE  ExitProcess,0
  19. main ENDP
  20.  
  21. END main
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement