NASM - The Netwide Assembler

NASM Forum => Using NASM => Topic started by: nobody on April 09, 2008, 01:04:21 AM

Title: Writing a comment section
Post by: nobody on April 09, 2008, 01:04:21 AM
Does NASM have a directive similar to the END directive in MASM ?

MASM END allows everything beyond it in the source code to be ignored enabling you to have a large comment section without prepending each line with a semi-colon.

I see that the -f elf format allows [section .data noalloc] but this
seems to have no effect in -f win32.

I'm writing NASM -f win32 on Win2k
TIA
;mcamember
Title: Re: Writing a comment section
Post by: nobody on April 10, 2008, 10:43:55 PM
%if 0
 Boring
 multi
 line
 comment
 here.
%endif