972
edits
[unchecked revision] | [unchecked revision] |
No edit summary |
m (Bot: Replace deprecated source tag with syntaxhighlight) |
||
Line 43:
Example:
<
.macro write string
movw string, %si
call printstr
.endm
</syntaxhighlight>
This would be equivalent to the NASM macro:
<
%macro write 1
mov si, %1
call printstr
%endmacro
</syntaxhighlight>
Additionally, the cpp and [[M4]] macro preprocessors are often used for macro handling.
|