Yes, only the stack can't be trusted anymore. Everything else is still the way it was.
Correct, but that ISR shouldn't turn them back on unless something else is changed so that the interrupts will be handled by the new program section. That could just be a bit that the ISR recognizes.they are off because they were turned off by the interrupt hardware in the uP? So if this JUMPING ISR turned them back on, is the stack the only issue?
Yes, but again, let the new section turn them back on.So the ISR will need to clear the stack AND turn interrupt's back on?
Not in this context, pun intended ...New question, in the 16f1's, do we care about the auto context save?
But the stack is only circular if the configuration bit STVREN = 0.
There is no PUSH or POP instructions, so the stack can't be cleared.
<object width="480" height="390"><param name="movie" value="http://www.youtube.com/v/OE053VV_rE4?fs=1&hl=en_US&rel=0"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/OE053VV_rE4?fs=1&hl=en_US&rel=0" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="390"></embed></object>Mind you, much like jumping from a bridge with a rubber band ties to my foot, I can't imagine doing this. But you (Darrel) said it best, knowledge is intoxicating![]()
Bookmarks