Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12603 Discussions

C and Assembly language inside the eclipse for NIOS II

Altera_Forum
Honored Contributor II
1,509 Views

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 II
640 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
0 Kudos
Reply