2 ms·
> Intel's syntax is most common, not the AT&T one. I'd be a little bit more careful with such a statement: Under Windows (and formerly DOS) Intel syntax is the
by wolfgke 11y ago
> Intel's syntax is most common, not the AT&T one.
I'd be a little bit more careful with such a statement: Under Windows (and formerly DOS) Intel syntax is the common one, while under GNU/Linux and OSX the AT&T one is used.
> If you translate mov into =, the syntax makes much more sense than AT&T.
Though I prefer the Intel syntax, I'd be careful with "makes sense" here: According to http://stackoverflow.com/a/4119217/497193 http://stackoverflow.com/a/4119217/497193 people who grew up with MIPS seem to prefer the AT&T syntax since it is much more similar to MIPS assembler.
- pjmlp 11y agoApparently you missed my second paragraph. Only UNIX based OSes follow AT&T, for obvious reasons.
- Annatar 11y agoIt has nothing to do with the operating system. AT & T syntax follows the same style as pretty much any other computer and processor in existence. (Exceptions exist, but they are exotic oddities.)