title: Preserving sreg in AVR interrupts
body: <p>What is the mechanism used to preserve the status register, sreg, in an AVR microcontroller?  <code>RETI</code> implies that these bits are not on the stack.  Is one of the general purpose registers also the sreg or something like that?</p>