Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12453 Discussions

C and Assembly language inside the eclipse for NIOS II

Altera_Forum
Honored Contributor II
1,086 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
217 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