AT&T versus Intel syntax
AT&T versus Intel syntax
Hey,
just set a poll about these syntaxes, vote, and post your opinion right here.
I personally don't like ATT very much because of these %,$,etc. "prefixes", but everybody who is using GCC + GAS are liking ATT more than Intel syntax. Maybe because it's their only choice, maybe because of different ways to write code, etc...
Regards
inflater
just set a poll about these syntaxes, vote, and post your opinion right here.
I personally don't like ATT very much because of these %,$,etc. "prefixes", but everybody who is using GCC + GAS are liking ATT more than Intel syntax. Maybe because it's their only choice, maybe because of different ways to write code, etc...
Regards
inflater
My web site: http://inflater.wz.cz (Slovak)
Derrick operating system: http://derrick.xf.cz (Slovak and English )
Derrick operating system: http://derrick.xf.cz (Slovak and English )
indeed the GCC GAS thingy is the main reason why i like AT&T. I used a lot of NASM early on but that gave some intergration problems and register allocation combined with C/C++ was a b*tch. But again mainly the GAS/GCC combinatie makes itr worth while.
Author of COBOS
Why the pointless poll(s)? It's like asking which do you prefer speaking, English or French? Does it really matter, other than what you are most familiar with? On the other hand, it is a good question if we're considering writing an assembly tutorial for beginners and are wondering what the best syntax to use is. Is that the intention? If not, to General Ramblings with you!
Regards,
John.
Regards,
John.
- Colonel Kernel
- Member
- Posts: 1437
- Joined: Tue Oct 17, 2006 6:06 pm
- Location: Vancouver, BC, Canada
- Contact:
That's cool!binutils wrote:http://idc.sourceforge.net/viva.avi
I voted Intel, just because it's what I'm used to. I'll learn AT&T syntax when I need to port my OS to another architecture... Maybe when I retire in 25 years.
Top three reasons why my OS project died:
- Too much overtime at work
- Got married
- My brain got stuck in an infinite loop while trying to design the memory manager
-
- Member
- Posts: 566
- Joined: Tue Jun 20, 2006 9:17 am
At/t and intel
At and t was sytax was designed with portablity in mind .. . although there
is nothing like a really portable assembler ... The gas was made to
serve as a backend to gcc(which all feeds it with correct code) and not for hand coding .... it systax seems to be somewhat wired .... and it only supports a subset of the intel instruction set ..not the entire intel instruction set... and i personally i prefer the intel version......
But At/t syntax is cosidered conforming to "standards" and it wont
hurt learning at/t syntax ... It has some logic in it and is not entirely
bad either....
is nothing like a really portable assembler ... The gas was made to
serve as a backend to gcc(which all feeds it with correct code) and not for hand coding .... it systax seems to be somewhat wired .... and it only supports a subset of the intel instruction set ..not the entire intel instruction set... and i personally i prefer the intel version......
But At/t syntax is cosidered conforming to "standards" and it wont
hurt learning at/t syntax ... It has some logic in it and is not entirely
bad either....
- JackScott
- Member
- Posts: 1036
- Joined: Thu Dec 21, 2006 3:03 am
- Location: Hobart, Australia
- Mastodon: https://aus.social/@jackscottau
- Matrix: @JackScottAU:matrix.org
- GitHub: https://github.com/JackScottAU
- Contact:
- jerryleecooper
- Member
- Posts: 233
- Joined: Mon Aug 06, 2007 6:32 pm
- Location: Canada