Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 224301

Forum Post: RE: TMS320F28379D: Interrupt Service Routine Context Save

$
0
0
Hi Kris, I believe the difference you are seeing here is that more registers are being used inside the ISR instructions in the second case, so more registers need their states saved initially since they will get modified by the ISR execution. The compiler is smart enough not to simply push all registers to the stack, if certain registers aren't used in the ISR they don't need to have their state pushed to the stack. The methods you've mentioned should work, however can you help me understand your use case more so I may give suggestions. Why exactly are you trying to access a specific value on the stack? Best Regards, Delaney

Viewing all articles
Browse latest Browse all 224301

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>