Assembly-Language Comments

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Assembly-Language Comments.

Microsoft Specific
Instructions in an __asm block can use assembly-language comments:

__asm mov ax, offset buff ; Load address of buff  

Because C macros expand into a single logical line, avoid using assembly-language comments in macros. (See Defining __asm Blocks as C Macros.) An __asm block can also contain C-style comments; for more information, see Using C or C++ in __asm Blocks.

END Microsoft Specific

Using Assembly Language in __asm Blocks

Show: