String Operator "

Another dummy argument operator is the double quote ( "). This character is replaced with a single quote by the macro processor, but the characters following the operator are still examined for dummy argument names. The effect in the macro call is to transform any enclosed dummy arguments into literal strings. For example, consider the macro definition in the following listing.

Listing: STR_MAC Macro, String Operator Dummy Argument
STR_MAC    MACRO   STRING
           DC      "STRING"

           ENDM

If this macro were called with the following macro expansion line,

  STR_MAC ABCD   

then the resulting macro expansion would be:

  DC 'ABCD'