Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
964 Views

C and Assembly language inside the eclipse for NIOS II

Hi, 

Is this possible to have combination of C and Assembly language inside the eclipse for NIOS II? 

In Visual studio you can write your C code and add some assembly code using __asm key, is there any similar command in the eclipse for NIOS II? 

I have some multiplication and division which I would like to modify its algorithm to increase the calculation speed. 

Please give me some suggestion.
0 Kudos
1 Reply
Altera_Forum
Honored Contributor I
95 Views

Eclipse uses GCC compiler ported for Nios II processor, so what you look for is asm() function. 

 

http://www.ibiblio.org/gferg/ldp/gcc-inline-assembly-howto.html
Reply