Multiple line comments in MASM assembly
Asked Answered
T

1

16

Is there a way to comment multiple lines in assembly?

I am using Masm32 v9.

Tomi answered 19/1, 2010 at 19:24 Comment(0)
J
28

you can use the COMMENT directive to do multi line comments:

 COMMENT @
 This is some text
 And some more text
 @

make sure to chose a delimiter which is not used in the comment itself ;^)

Jollenta answered 19/1, 2010 at 19:28 Comment(1)
MSFT link is broken (as always.) Here's an updated one. Also note that the delimeter doesn't have to be a single character. It just has to match the ending delimiter in a case-sensitive way.Expressway

© 2022 - 2024 — McMap. All rights reserved.