avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] When does the Stack Frame Pointer (Y) get setup?


From: Bob Paddock
Subject: Re: [avr-gcc-list] When does the Stack Frame Pointer (Y) get setup?
Date: Fri, 6 Jul 2012 13:00:07 -0400

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]