MASM Macro Directives in Inline Assembly

Microsoft Specific

The inline assembler isn't a macro assembler. You can't use MASM macro directives (MACRO, REPT, IRC, IRP, and ENDM) or macro operators (<>, !, &, %, and .TYPE). An __asm block can use C preprocessor directives, however. For more information, see Using C or C++ in __asm blocks.

END Microsoft Specific

See also

Using assembly language in __asm blocks