Community
cancel
Showing results for 
Search instead for 
Did you mean: 
MFija
Beginner
873 Views

Memory and registers usage during compilation.

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

Tags (1)
0 Kudos
1 Reply
GuaBin_N_Intel
Employee
78 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.p..., Table11. Just not understand which table you mentioned is conflict against with.
Reply