Hacker News new | ask | show | jobs
by maximilianburke 5353 days ago
One unfortunate downside to the AT&T syntax is that the Intel reference manuals all use, well, Intel syntax. It's inconvenient to have the Intel reference manuals while working in an AT&T environment, especially for instructions that are quite different (ie: compare Intel vs. AT&T syntax for the LEA instruction). Intel is really the only architecture, at least now, where there's such a large difference in assembly language syntax -- for the same architecture, most platforms typically only differ in minor areas like expressing relocations. In a way AT&T is also quite a departure from other assembly syntaxes too as most have the convention that the destination register is on the left side.