This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: arm instructions used by gcc
- From: Tom Crick <tc at cs dot bath dot ac dot uk>
- To: gcc-help at gcc dot gnu dot org
- Cc: shakstux at yahoo dot com
- Date: Wed, 11 May 2005 14:05:03 +0100
- Subject: Re: arm instructions used by gcc
- References: <1115815656.27588.ezmlm@gcc.gnu.org>
- Reply-to: tc at cs dot bath dot ac dot uk
On Wed, 2005-05-11 at 13:47, gcc-help-digest-help@gcc.gnu.org wrote:
>
> ______________________________________________________________________
> From: Ian Lance Taylor <ian@airs.com>
> To: Shakthi Kannan <shakstux@yahoo.com>
> Cc: gcc-help@gcc.gnu.org
> Subject: Re: arm instructions used by gcc
> Date: Tue, 10 May 2005 15:02:41 -0400
>
> Shakthi Kannan <shakstux@yahoo.com> 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