[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] generic queue library for AVR GCC?
From: |
Theodore A. Roth |
Subject: |
Re: [avr-gcc-list] generic queue library for AVR GCC? |
Date: |
Mon, 15 Nov 2004 16:15:53 -0800 (PST) |
On Mon, 15 Nov 2004, Bruce D. Lightner wrote:
> Theodore A. Roth wrote:
>
> >>My way also preserves the original state of the interrupt flag,
> >>which may be essential, depending upon the circumstance.
> >
> > It's not obvious to me that Geoffrey's method does not preserve the
> > state of the I flag. In both your code and his the SREG ends up on the
> > stack during a context switch or interrupt (implicitly with your code
> > and explicitly with Geoffrey's).
> >
> > Can someone please explain how the state the I flag is not preserved?
>
> Sorry to mislead you. It *is* preserved. Let me re-phrase...
>
> *Just like Geoffrey's method*, my way also preserves the original
> state of the interrupt flag, which may be essential, depending
> upon the circumstance.
Thanks for the clarification. I thought I was going nuts. ;-)
---
Ted Roth
PGP Key ID: 0x18F846E9
Jabber ID: address@hidden
- Re: [avr-gcc-list] generic queue library for AVR GCC?, (continued)
- Re: [avr-gcc-list] generic queue library for AVR GCC?, Ben L. Titzer, 2004/11/17
- Re: [avr-gcc-list] generic queue library for AVR GCC?, E. Weddington, 2004/11/18
- Re: [avr-gcc-list] generic queue library for AVR GCC?, Ben L. Titzer, 2004/11/18
- Re: [avr-gcc-list] generic queue library for AVR GCC?, E. Weddington, 2004/11/18
- Re: [avr-gcc-list] generic queue library for AVR GCC?, Ben L. Titzer, 2004/11/18
- Re: [avr-gcc-list] generic queue library for AVR GCC?, Theodore A. Roth, 2004/11/17
- Message not available
- Re: [avr-gcc-list] generic queue library for AVR GCC?, E. Weddington, 2004/11/15
- Re: [avr-gcc-list] generic queue library for AVR GCC?, rusty+avr-gcc-list, 2004/11/15
- Re: [avr-gcc-list] generic queue library for AVR GCC?, Theodore A. Roth, 2004/11/15
- Re: [avr-gcc-list] generic queue library for AVR GCC?, Bruce D. Lightner, 2004/11/15
- Re: [avr-gcc-list] generic queue library for AVR GCC?,
Theodore A. Roth <=
- Re: [avr-gcc-list] generic queue library for AVR GCC?, Geoffrey Wossum, 2004/11/16
Re: [avr-gcc-list] generic queue library for AVR GCC?, Dave Hansen, 2004/11/17