Using GAS, any tutorials
Thu Oct 19 00:18:00 GMT 2000
It really depends on your target.
(The different target has the different assembly mnemonic.)
I suggest you read the .s file generated by gcc.
In my case: m68k-coff-gcc -S foo.c
and take a look at 'foo.s'.
then use the 'asm' function, like
asm ("move.l %a0, %d0"),
what ever you've see in the dot s file.
BTW, there is a doc about target as x86.
----- Original Message -----
From: "robert floyd" <firstname.lastname@example.org>
Sent: Thursday, October 19, 2000 12:30 PM
Subject: Using GAS, any tutorials
> Is there any tutorial, examples or manuals available that explain the
> on how to write a program in assembly for an embedded target? I read the
> GAS manual, provides lots of info on COMMAND LINE options, etc. but does
> even begin to tell me where to start.
> Want more information? See the CrossGCC FAQ,
> Want to unsubscribe? Send a note to
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to email@example.com
More information about the crossgcc