Rico Secada <[EMAIL PROTECTED]> writes:
...
> I am brushing up a bit on my assembly language skills, I used to work on MIPS 
> but are now looking on x86. 
> 
> I have a problem choosing between "following" a book using the (as) AT&T 
> syntax and another using (nasm) Intel syntax. 
> 
> I know that this isn't directly OpenBSD related but I would appreciate any 
> recommendations.
...

If you only intend to run on unix platforms, use the AT&T syntax.

If you intend to do a lot of work with ms windows as well and want to
transport code back & forth, use intel (nasm, masm).

If you're not sure, you might want to start with the AT&T syntax; it
has slightly more obvious functionality than the intel syntax, and is
also more like the unix assemblers on other architectures (such as
mips, arm, etc.)  Also, you'll find it easier to read gdb output.

Whichever syntax you use, if you plan on doing a lot with x86 you should
spend enough time with the other to be able to read code written in that.

                                        -Marcus Watts

Reply via email to