Advertisement
PonaFly

firstAssembler

Mar 2nd, 2017
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. .486
  2. .model flat, stdcall
  3. INCLUDE stdlib.inc
  4. INCLUDELIB msvcrt.lib
  5.  
  6. .DATA
  7. a dd 1
  8. b dd 2
  9. cv dd 3
  10.  
  11. .CODE
  12. main:
  13. mov eax, a
  14. mov ebx, b
  15. add eax, ebx
  16. mov ebx, cv
  17. add ebx, eax
  18.  
  19. ; mov eax, a
  20. ; add eax, b
  21. ; add eax, cv
  22.  
  23.  
  24. call exit
  25. END main
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement