<p><span class="h-card" translate="no"><a href="https://mastodon.social/@mcc" class="u-url mention">@<span>mcc</span></a></span> <span class="h-card" translate="no"><a href="https://f.duriansoftware.com/@joe" class="u-url mention">@<span>joe</span></a></span> Intel's syntax goes back to the 8086/8 datasheet. You can see it in the IBM PC BIOS listings.</p><p>From there, Microsoft made their own assembler (MASM) which extends Intel's original syntax (along with all the segment shit no one cares about).</p><p>NASM is "well, it's dest then source operand", like MASM, but isn't really Intel/MASM syntax either. Code written for MASM will not compile for NASM for several syntactical reasons.</p><p>And GAS/AT&T syntax is the x86 Unix world. It's ass.</p>