WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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
Cc:
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/12.24.0.100205
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
instruction.

 -- Keir

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



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

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