Forum Discussion
Altera_Forum
Honored Contributor
15 years agoModifying EPCS bootloader
Skip to tl;dr at the bottom if so inclined. Background and such is there to cover some possible questions. background: (Developing in Q10.1) I am developing a project with two separate fir...
Altera_Forum
Honored Contributor
15 years agoI only just failed to get gcc to compile C without any reference to a stack. Quite possibly I could have modified the code generator to not write the function prologue (that saves registers) for functions that are known to not return.
I did think of doing that - as it would free up %sp for use as a general register!