Altera_Forum
Honored Contributor
19 years agoNewbie Help - ISR Context ptr vs. Global
Hello,
I'm working on my first Nios II project and am trying to figure out what advantage there is to using an ISR's context pointer. Typically with all my other MCU projects, I simply use global variables. Does the compiler optimize the context pointers better or is this just a stylistic approach? Thanks a bunch, Kevin (P.S. Sorry if this has been discussed in other threads... I couldn't find them when I searched)