flat assembler
Message board for the users of flat assembler.

Index > Linux > Intel vs AT&T

Author
Thread Post new topic Reply to topic
DEMON84



Joined: 06 Feb 2005
Posts: 6
DEMON84 06 Feb 2005, 10:34
Which syntax is better to understanding and using?
Post 06 Feb 2005, 10:34
View user's profile Send private message Reply with quote
Endre



Joined: 29 Dec 2003
Posts: 215
Location: Budapest, Hungary
Endre 06 Feb 2005, 11:22
DEMON84 wrote:
Which syntax is better to understanding and using?

I think when using intel syntax you're less prone to make mistakes. On the other hand you can be used to writing and understanding in any syntax in 1 minute, But you will definitely need this 1 minute to change from the one to the other Smile.
All the assemblers are able to compile intel syntax, but AS is the only one (I know) understanding AT&T syntax.
That means if you have written your code with AT&T syntax then your eventual change to another assembler may be a bit more painful.
Post 06 Feb 2005, 11:22
View user's profile Send private message Reply with quote
beppe85



Joined: 23 Oct 2004
Posts: 181
beppe85 06 Feb 2005, 20:41
Intel.
Post 06 Feb 2005, 20:41
View user's profile Send private message Reply with quote
DEMON84



Joined: 06 Feb 2005
Posts: 6
DEMON84 06 Feb 2005, 20:48
I like Intel too Smile
Post 06 Feb 2005, 20:48
View user's profile Send private message Reply with quote
beppe85



Joined: 23 Oct 2004
Posts: 181
beppe85 06 Feb 2005, 21:01
So, what you are waiting for? Run, Forrest! Very Happy
DEMON84 wrote:
I like Intel too Smile

_________________
"I assemble, therefore I am"

If you got some spare time, visit my blog: http://www.beppe.theblog.com.br/ and sign my guestmap
Post 06 Feb 2005, 21:01
View user's profile Send private message Reply with quote
crc



Joined: 21 Jun 2003
Posts: 637
Location: Penndel, PA [USA]
crc 06 Feb 2005, 22:06
Quote:
Iyou can be used to writing and understanding in any syntax in 1 minute, But you will definitely need this 1 minute to change from the one to the other


Actually it takes most people longer than 1 minute to learn a new syntax... FASM is quite similar to NASM in syntax, but it took me about an hour to learn the differences between the two.

Quote:
All the assemblers are able to compile intel syntax, but AS is the only one (I know) understanding AT&T syntax.


Actually AS supports a form of intel syntax with if you use a directive Smile And there are many assemblers that don't use intel syntax. For starters, almost all non-intel based assemblers have a different syntax. Even on intel-based assemblers, there are some assemblers that I ran across using a different syntax. (http://retroforth.org/asmchart/ should have links to them)

Quote:
That means if you have written your code with AT&T syntax then your eventual change to another assembler may be a bit more painful.


There are some freeware convertors that do a decent job of converting AT&T syntax to Intel and vice versa.
Post 06 Feb 2005, 22:06
View user's profile Send private message Visit poster's website Reply with quote
maslan



Joined: 08 Sep 2003
Posts: 54
maslan 11 Feb 2005, 02:47
who designed that chip Question
sure intel

_________________
Maslan
I'm searching for perfection so, even if u need portability u 've to use Assembly
---
http://www.maslanlab.org
---
http://libosdk.berlios.de
http://maslanedit.sf.net
http://maslancms.sf.net
Post 11 Feb 2005, 02:47
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.