2 ms·
You don’t put semicolons between instructions in assembly. A semicolon is used for comments to the end of the line. Instructions go one per line
by dan-robertson 8y ago
You don’t put semicolons between instructions in assembly. A semicolon is used for comments to the end of the line. Instructions go one per line
- comex 8y agoNo, 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...