On Wed, 2005-05-11 at 13:47, gcc-help-digest-help@xxxxxxxxxxx wrote: > > ______________________________________________________________________ > From: Ian Lance Taylor <ian@xxxxxxxx> > To: Shakthi Kannan <shakstux@xxxxxxxxx> > Cc: gcc-help@xxxxxxxxxxx > Subject: Re: arm instructions used by gcc > Date: Tue, 10 May 2005 15:02:41 -0400 > > Shakthi Kannan <shakstux@xxxxxxxxx> writes: > > > The big picture: I am trying to write an ARM > > instruction set simulator using Qt. I am using lex and > > yacc for lexical and syntax analysis. This will > > generate an intermediate output that will be parsed by > > Qt. > > > > I would like to know the ARM assembly instructions > > that are used in gcc for generating ARM code. > > > > I did look at the gcc internals and hardware > > description from here: > > > > http://gcc.gnu.org/onlinedocs/gccint/Machine-Desc.html#Machine-Desc > > > > As a newbie, I am not able to interpret the arm.md > > file in gcc/config/arm. Is there any other > > documentation with numerous examples to illustrate the > > inner working of gcc and its code generation process? > > > > Any links/pointers in this regard is appreciated. > > gcc doesn't document instruction set details. For details on the ARM > instruction set, you need to head over to http://arm.com/. The last > time I looked, there was a way to sign up for them to send you a CD > with all the details. Check out: http://www.arm.com/documentation/Instruction_Set/index.html for a nice reference card. Or buy the ARM ARM: http://www.amazon.co.uk/exec/obidos/ASIN/0201737191 Cheers, Tom