This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] ATT/GAS syntax manual

To: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>, "Xen-devel@xxxxxxxxxxxxxxxxxxx" <Xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] ATT/GAS syntax manual
From: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Date: Tue, 27 Jul 2010 21:17:52 +0100
Delivery-date: Tue, 27 Jul 2010 13:19:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100727125527.3b79c6d8@xxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acstxex50x3XS76iQOuYo5Ir+I/viQAAt3Gm
Thread-topic: [Xen-devel] ATT/GAS syntax manual
User-agent: Microsoft-Entourage/
On 27/07/2010 20:55, "Mukesh Rathor" <mukesh.rathor@xxxxxxxxxx> 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

 -- Keir

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

Xen-devel mailing list

<Prev in Thread] Current Thread [Next in Thread>