I’m just curious if AT&T assembly syntax now only exists in software…
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Syntax is how you write stuff down, it’s not closely related to the command set or data model of the processor.
For example, you can write the very same sequence of code for an x86 chip in either AT&T or Intel syntax assemblers and it will run identically – the only major difference you’ll see is that in AT&T syntax the destination is the second argument and in Intel syntax it is the first argument. Either will compile to the same very hard to read machine code.
Assembly language supported by Visual C++ for writing (hopefully) short asm blocks uses Intel syntax, while AFAIK assembly language supported by GCC uses AT&T syntax.