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: Keir Fraser <keir.fraser@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel] ATT/GAS syntax manual
From: Mukesh Rathor <mukesh.rathor@xxxxxxxxxx>
Date: Tue, 27 Jul 2010 19:28:46 -0700
Cc: "Xen-devel@xxxxxxxxxxxxxxxxxxx" <Xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Tue, 27 Jul 2010 19:29:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C874FD80.4163%keir.fraser@xxxxxxxxxxxxx>
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>
Organization: Oracle Corporation
References: <20100727125527.3b79c6d8@xxxxxxxxxxxxxxxxxxxx> <C874FD80.4163%keir.fraser@xxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Tue, 27 Jul 2010 21:17:52 +0100
Keir Fraser <keir.fraser@xxxxxxxxxxxxx> wrote:

> 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

Ah, I thought so. I have similar tricks, I usually use gdb to toggle 
syntax between AT&T and INTEL, and figure out that way.

thanks,
Mukesh

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

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