5 ms·
MASM 1.0 had a linear symbol table, which meant it quickly got excruciatingly slow as the file size increased. MASM also uses the syntax one finds in the Intel
by WalterBright 5y ago
MASM 1.0 had a linear symbol table, which meant it quickly got excruciatingly slow as the file size increased.
MASM also uses the syntax one finds in the Intel CPU reference manuals. This is also done in the inline assembler for my compilers.
The gnu assembler syntax reverses the operands, which reverses the operands. This drives me crazy because assembler is hard enough without all the bugs from putting the operands in the wrong order.
Besides, I much prefer to be able to compare my assembler code with the Intel CPU specification.
- mhh__ 5y agoAngels die when AT&T syntax is used. I genuinely hate it.
- pjmlp 5y agoOne day I had the stupid idea to replace the nasm macros of my toy compiler with generated Assembly directly, and to reduce dependencies rely on gas, back when Intel syntax was hardly supported, so AT&T it was. Never again.
- blake1 5y agoI strongly agree with your last sentence, but the issue goes beyond operand order: the addressing syntax for AT&T is nigh incomprehensible to me.