Intel or AT&T?
Intel or AT&T?
Which sintax is better to develop, Intel x86 or AT&T x86 (in your opinion)? And which assembler is better (in your opinion)?
- Brynet-Inc
- Member
- Posts: 2426
- Joined: Tue Oct 17, 2006 9:29 pm
- Libera.chat IRC: brynet
- Location: Canada
- Contact:
Re: Intel or AT&T?
It's spelled syntax. And the choice is yours, obviously whichever is easier for you to understand.
Re: Intel or AT&T?
Hi,
Cheers,
Adam
As with C(++) vs. ASM, Windows vs. Linux, Vim vs. VS etc..., this is generally a way to start a flamewar. I prefer intel syntax because that's what I learned on. Others prefer AT&T for the same sort of reason. Often it just comes down to which way an individual 'pictures' data flowing.arming wrote:Which sintax is better to develop, Intel x86 or AT&T x86 (in your opinion)? And which assembler is better (in your opinion)?
Define 'better'.arming wrote:Which sintax is better to develop, Intel x86 or AT&T x86 (in your opinion)? And which assembler is better (in your opinion)?
Cheers,
Adam
-
- Member
- Posts: 81
- Joined: Wed Nov 09, 2011 2:21 am
- Location: Behind a keyboard located in The Netherlands
Re: Intel or AT&T?
I would say neither but then again i am a motorola fanboy.....
Re: Intel or AT&T?
For me, better is... I don't know, it depends. Maybe AT&T it's better to work with net connections (that would be better for me). Well, I'm going to do specified questions:AJ wrote:Hi,
As with C(++) vs. ASM, Windows vs. Linux, Vim vs. VS etc..., this is generally a way to start a flamewar. I prefer intel syntax because that's what I learned on. Others prefer AT&T for the same sort of reason. Often it just comes down to which way an individual 'pictures' data flowing.arming wrote:Which sintax is better to develop, Intel x86 or AT&T x86 (in your opinion)? And which assembler is better (in your opinion)?
Define 'better'.arming wrote:Which sintax is better to develop, Intel x86 or AT&T x86 (in your opinion)? And which assembler is better (in your opinion)?
Cheers,
Adam
To work with ASM and C, what is better (AT&T or Intel)?
AT&T is portable at all the x86? And Intel?
Which is easier to learN?
Which works better with network?
Re: Intel or AT&T?
AT&T vs. Intel is about syntax, not about semantics. You can express exactly the same things in both syntaxes, they look just a bit different. If you think it has anything to do with network or even just if you think that one of them is easier to understand like Brynet seems to imply, you have a more fundamental problem and should go back to learning some basics.
It's purely a matter of taste.
It's purely a matter of taste.
Re: Intel or AT&T?
OK, I've expressed badly. I know that the two do more or less the same but with different syntax. I want to say that maybe Intel syntax it's easier to do a netboot, for example.Kevin wrote:AT&T vs. Intel is about syntax, not about semantics. You can express exactly the same things in both syntaxes, they look just a bit different. If you think it has anything to do with network or even just if you think that one of them is easier to understand like Brynet seems to imply, you have a more fundamental problem and should go back to learning some basics.
It's purely a matter of taste.
Re: Intel or AT&T?
Hi,
* They both allow you to interface with C code (for GCC inline assembly, the default is AT&T, but that can be configured on the command line). That's more to do with the ABI.
* They both work with x86 (16 bit / IA32 / AMD64)
* The easiest one to learn is probably whichever one you learn first.
* They can both be used to interface with network devices in the same manner.
These are two dialects which do the same thing - they both get converted to the same opcodes so you end up with the same binary.
Cheers,
Adam
No - they do exactly the same. To answer your questions:arming wrote:OK, I've expressed badly. I know that the two do more or less the same but with different syntax. I want to say that maybe Intel syntax it's easier to do a netboot, for example.
* They both allow you to interface with C code (for GCC inline assembly, the default is AT&T, but that can be configured on the command line). That's more to do with the ABI.
* They both work with x86 (16 bit / IA32 / AMD64)
* The easiest one to learn is probably whichever one you learn first.
* They can both be used to interface with network devices in the same manner.
These are two dialects which do the same thing - they both get converted to the same opcodes so you end up with the same binary.
Cheers,
Adam