Compilation Unit
#pragma NO_STRING_CONSTR
None
None
None
This pragma is valid for the rest of the file in which it appears. It switches off the special handling of # as a string constructor. This is useful if a macro contains inline assembler statements using this character, e.g., for IMMEDIATE values.
The following pseudo assembly-code macro shows the use of the pragma. Without the pragma, # is handled as a string constructor, which is not the desired behavior.
#pragma NO_STRING_CONSTR #define HALT(x) __asm { \ LOAD Reg,#3 \ HALT x, #255\ }