From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: ATT/GAS syntax manual Date: Tue, 27 Jul 2010 21:17:52 +0100 Message-ID: References: <20100727125527.3b79c6d8@mantra.us.oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20100727125527.3b79c6d8@mantra.us.oracle.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Mukesh Rathor , "Xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org On 27/07/2010 20:55, "Mukesh Rathor" 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