1 ; NASM macro set to make interfacing to 32-bit programs easier -*- nasm -*-
\r
3 %imacro proc 1 ; begin a procedure definition
\r
9 %define %$procname %1
\r
12 %imacro arg 0-1 4 ; used with the argument name as a label
\r
14 %assign %$arg %1+%$arg
\r
19 %error Mismatched `endproc'/`proc'
\r
23 __end_%$procname: ; useful for calculating function size
\r