NASM - The Netwide Assembler
NASM Forum => Using NASM => Topic started by: nobody on March 20, 2005, 03:18:26 AM
-
Hi Guys,
I am very new to asm, and are wondering which i should be using. Is there any right or wrong. Is nasm more popular than gcc for Assmebly. Is the syntax easier to learn. Any help would be appreciated.
Thank you
Elvester
-
Ok. A little research later.
I have found that there are 2 types of syntax in asm.
Intel and AT&T. Which should i be learning?.
I need a friend :(
Elveish
-
> Intel and AT&T. Which should i be learning?
Why both of course. That way you will be most
flexible. And no, it's really not that hard.
-
There's no real "right or wrong"... Around here, we tend to like Nasm :) But you could use (G)as with the ".intel_syntax noprefix" directive, and write Intel syntax for Gas, if you wanted to. Fasm, Yasm, and HLA run on Linux, too (with ".intel_syntax" available for Gas, HLA is the one with the "weird syntax" :) I don't think you'd go wrong by using Nasm, but there are lots of choices!
Best,
Frank