On Jan 14, 2014, at 1:43 PM, Mark Litwack <mlitw...@employees.org> wrote:

> I thought Todd's suggestion would have nailed it for sure...  And
> David is right you don't need the reti(); it is only used when writing
> a naked ISR.  Who knows what evil is lurking in the stack on a
> premature return.

You don't return to where you thought you'd return.
And registers don't have the contents they had when the ISR was dispatched.
Anything is possible.

--
David Kelly N4HHE, dke...@hiwaay.net
============================================================
Whom computers would destroy, they must first drive mad.


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to