public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* gcc -S assembler syntax documentation
@ 2002-01-13  6:50 Riccardo Mazzei
  2002-01-13 10:57 ` Andrea 'Fyre Wyzard' Bocci
  0 siblings, 1 reply; 3+ messages in thread
From: Riccardo Mazzei @ 2002-01-13  6:50 UTC (permalink / raw)
  To: gcc-help

Would anyone kindly tell me where to find some manual about the assembler
syntax of .s files generated by gcc?
I'm interested in ix86 architectures, but a simple indication of where to
look for would be very precious...
I read the man and the info pages of gcc and as, but I found nothing about
this topic. Neither the Intel site is of any help, I suppose, since the
Intel assembler looks different from the gcc -S output.

Thanking you in advance

Rik

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gcc -S assembler syntax documentation
  2002-01-13  6:50 gcc -S assembler syntax documentation Riccardo Mazzei
@ 2002-01-13 10:57 ` Andrea 'Fyre Wyzard' Bocci
  0 siblings, 0 replies; 3+ messages in thread
From: Andrea 'Fyre Wyzard' Bocci @ 2002-01-13 10:57 UTC (permalink / raw)
  To: Riccardo Mazzei, gcc-help

Hi

if you like Intel syntax more, you can try using (quoting fron GCC manual)

>-mintel-syntax
>Emit assembly using Intel syntax opcodes instead of AT&T syntax.

fwyzard

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: gcc -S assembler syntax documentation
@ 2002-01-13  7:11 Paolo Carlini
  0 siblings, 0 replies; 3+ messages in thread
From: Paolo Carlini @ 2002-01-13  7:11 UTC (permalink / raw)
  To: riccardo; +Cc: gcc-help

>Would anyone kindly tell me where to find some manual about the assembler
>syntax of .s files generated by gcc?

Hi Riccardo,

that syntax is very common in the *nix world and is known as the "AT&T Syntax".
You can start learning about it on:

    http://www.linuxdoc.org/HOWTO/Assembly-HOWTO/index.html

and, in particular:

    http://www.linuxdoc.org/HOWTO/Assembly-HOWTO/gas.html

Of course, the "(g)as" man pages/info pages are also recommended.

Cheers,
Paolo.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-01-13 18:57 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-13  6:50 gcc -S assembler syntax documentation Riccardo Mazzei
2002-01-13 10:57 ` Andrea 'Fyre Wyzard' Bocci
2002-01-13  7:11 Paolo Carlini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).