Forum Discussion

MFija's avatar
MFija
Icon for New Contributor rankNew Contributor
7 years ago

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