inline assembler question
Alexandre Oliva
aoliva@redhat.com
Tue Apr 10 14:22:00 GMT 2001
On Apr 10, 2001, Michael Sänger <michael@vulpine.de> wrote:
> int function(int arg);
> {
> __asm__(" movl arg,%eax ");
> }
> doesn't work because the arg symbol isn't parsed as variable to the asm
> ...
You should read about extended asms in the GCC manual.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Gcc-help
mailing list