SHARE
TWEET

macro.asm

a guest Dec 8th, 2019 92 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. load macro args
  2.     irp d,<args>
  3.         push d
  4.     endm
  5. endm
  6.  
  7. restore macro args
  8.     irp d,<args>
  9.         pop d
  10.     endm
  11. endm
  12.  
  13. exit macro
  14.     mov ah, 00h
  15.     int 21h
  16. endm
  17.  
  18. print macro buf
  19.     mov ah, 09h
  20.     mov dx, buf
  21.     int 21h
  22. endm
  23.  
  24. print_range macro args
  25.     irp d,<args>
  26.         print <offset d>
  27.     endm
  28. endm
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top