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

Memory and registers usage during compilation.

MFija
Beginner
1,505 Views

Hi there,

i found that NIOS II Compiler uses r1-r23 and r26-28 general purpose registers which is in confilct with another table where it is shown thr compier uses r0, r2-r23, r26-r28 and r31 registers.

Anyway what kind of data is stored there, and are the registers part of RAM/cache memory or are they separate?

Also what kind of data is stored on Stack during the compilation and after during program execution?

 

best regards,

Mateusz Fijak

0 Kudos
1 Reply
GuaBin_N_Intel
Employee
710 Views
The general purpose table can be found in here https://www.intel.com/content/dam/www/programmable/us/en/pdfs/literature/hb/nios2/n2cpu-nii5v1gen2.pdf, Table11. Just not understand which table you mentioned is conflict against with.
0 Kudos
Reply