Forum Discussion
Altera_Forum
Honored Contributor
21 years agoassembly in NIOS II IDE
hello to everybody
it's possible to optimize a C function in assembly For example : int myfunc(int a , int http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/cool.gif { int c;# asm ... ...# end_asm return c; } like this not run , of course How it's possible writing something about this? thanks walter ciao3 Replies
- Altera_Forum
Honored Contributor
Hi,
in Nios I it was: asm("... ... ... ... "); i haven't tried it yet in Nios II. bye - Altera_Forum
Honored Contributor
ok thanks
yesterday i saw some documents about it May be the same ciao walter - Altera_Forum
Honored Contributor
Right....and, in reality, this has very little to do with the IDE and a whole lot more to do with the compiler toolchain: GCC. Along those lines, you really should be referencing something like the following:
gcc-inline-assembly-howto (http://www.ibiblio.org/gferg/ldp/gcc-inline-assembly-howto.html#s3) Cheers, - slacker