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++

nios assembly in C code

Altera_Forum
Honored Contributor II
1,319 Views

hi everyone, 

This is my first participation to the forum. I'd appreciate your help. 

I'm trying to convert a function in C code into assembly to reduce the time taken for execution and compilation. i just wanna know how to mix between the c code and the nios assembly.is there a certain syntax to use? 

and how to access the C variables in the assembly code. for example: 

void filter (int input,int & y) 

how to access the variable "input" using assembly?i mean how to know the address that this variable is saved at, or whatever? 

 

thx a lot.looking forward to ur reply
0 Kudos
2 Replies
Altera_Forum
Honored Contributor II
409 Views

Read the other posts!!!! stop flooding for the same question!

0 Kudos
Altera_Forum
Honored Contributor II
409 Views

Hi Mado, 

 

Welcome to the forum from me too. 

 

Banx.
0 Kudos
Reply