Advertisement
Guest User

macro.asm

a guest
Jan 18th, 2020
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. %macro podziel 0
  2. pop bx
  3. pop ax
  4. mov dx, 0
  5. div bx
  6. push ax
  7. %endmacro
  8.  
  9. %macro razy 0
  10. pop bx
  11. pop ax
  12. mul bx
  13. push ax
  14. %endmacro
  15.  
  16. %macro dodaj 0
  17. pop bx
  18. pop ax
  19. add ax, bx
  20.  
  21. push ax
  22. %endmacro
  23.  
  24. %macro minus 0
  25. pop bx
  26. pop ax
  27. sub ax, bx
  28. push ax
  29. %endmacro
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement