Thank you for your answer
The code is exactly what I write !
If I ask "printf" to write a integer number (%d) with a single digit it works correctly,
otherwise (just changing the 9 in 10) the program restart from the begin in a infinite loop.
Actually I've similar problem also using the multiplier (*) operator: sometimes it work but with few marginal
changing in the code, the execution restart from the beginning in an infinite loop.
However I noticed that this problem is limited to the usage of Nios II-e, while just changing the processor to Nios II-s and with no other modification
both the "printf" and the "multiplier" works correctly.
> When you chose Nios II/e (=economic version), do you regenerate the Qsys, recompile the design, redownload to FPGA, do you rebuild the BSP, do you recompile the soft ?
Of course !