xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Keir Fraser <keir.fraser@eu.citrix.com>
To: Mukesh Rathor <mukesh.rathor@oracle.com>,
	"Xen-devel@lists.xensource.com" <Xen-devel@lists.xensource.com>
Subject: Re: ATT/GAS syntax manual
Date: Tue, 27 Jul 2010 21:17:52 +0100	[thread overview]
Message-ID: <C874FD80.4163%keir.fraser@eu.citrix.com> (raw)
In-Reply-To: <20100727125527.3b79c6d8@mantra.us.oracle.com>

On 27/07/2010 20:55, "Mukesh Rathor" <mukesh.rathor@oracle.com> wrote:

> Hi all,
> 
> I should've asked this long ago, but better late than never.
> 
> Has anybody found a site, book, manual, or anything that explains the
> ATT/GAS syntax for each instruction. I'm looking for something similar
> to the Intel manuals, even tho it's not to that detail. Anything I find
> just includes few instructions, and is more assembly language prog book
> rather than just GAS syntax manual.

I don't think there is such a thing. There are general rules for writing
operands, effective addresses, and ordering of operands of course. If I had
a specific issue with a particular instruction then I would construct an
example in machine code using .byte directive in a .S file, gcc/gas it to an
object file, and the objdump -d that file to see the AT&T syntax for the
instruction.

 -- Keir

> thanks,
> Mukesh
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xensource.com
> http://lists.xensource.com/xen-devel

  reply	other threads:[~2010-07-27 20:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-27 19:55 ATT/GAS syntax manual Mukesh Rathor
2010-07-27 20:17 ` Keir Fraser [this message]
2010-07-28  2:28   ` Mukesh Rathor

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=C874FD80.4163%keir.fraser@eu.citrix.com \
    --to=keir.fraser@eu.citrix.com \
    --cc=Xen-devel@lists.xensource.com \
    --cc=mukesh.rathor@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).