NASM - The Netwide Assembler

NASM Forum => Programming with NASM => Topic started by: jedi on July 20, 2013, 09:37:58 PM

Title: multi-word macros
Post by: jedi on July 20, 2013, 09:37:58 PM
I was wondering if there is a way to write a multi-word macro, like with quote marks or whatnot. For example,

%macro two words 0
    code
%endmacro
For my purposes I do not want a _ character between the words.

Thanks.
Title: Re: multi-word macros
Post by: Frank Kotler on July 20, 2013, 10:11:09 PM
I don't think I understand the question, Jedi. Can you give an example of how you propose to use this macro, and what the result should be?

On re-reading the question, it looks like you want a macro with a two word name(?). No, I don't think that's possible...

Best,
Frank