On Fri, Jul 6, 2012 at 12:45 PM, Larry Barello wrote: > I believe xmega automatical disable interrupts for one cycle after anything > that touches the stack and or int priority registers (it has been a few > years so I might have some details wrong).
Thank you. That would be this in the XMega Manual: To prevent corruption when updating the Stack Pointer from software, a write to SPL will auto- matically disable interrupts for up to 4 instructions or until the next I/O memory write. _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org https://lists.nongnu.org/mailman/listinfo/avr-gcc-list