|
| From: | Larry Barello |
| Subject: | Re: [avr-gcc-list] COMPILER Frame pointer bug!!! |
| Date: | Sat, 17 Nov 2001 21:24:00 -0800 |
This isn't a bug. The following line restores the interrupt flag. > out __SREG__,__tmp_reg__ The interrupts are disabled only for the two cycles needed to update the stack pointer. If you took an interrupt with the stack pointer half updated bad things happen! I know. I had that bug in my RTOS for a while :)
| [Prev in Thread] | Current Thread | [Next in Thread] |