3 ms·
No, the GNU assembler (unlike some others) does use semicolons as an instruction separator. Comment markers include // and // (like C), as well as potentially
by comex 8y ago
No, the GNU assembler (unlike some others) does use semicolons as an instruction separator. Comment markers include // and // (like C), as well as potentially #, @, or others depending on the architecture.
Edit: Actually, on some lesser-used architectures it does support using ; to start a comment, e.g. z80 [1], but not the most common ones.
[1] https://sourceware.org/binutils/docs-2.26/as/Z80_002dChars.html#Z80_002dChars https://sourceware.org/binutils/docs-2.26/as/Z80_002dChars.h...