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

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

Re: [avr-gcc-list] COMPILER Frame pointer bug!!!


From: Denis Chertykov
Subject: Re: [avr-gcc-list] COMPILER Frame pointer bug!!!
Date: 21 Nov 2001 00:16:23 +0300
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Dmitry <address@hidden> writes:

> Fellows!
> 
> The code is Ok, but it seems to me, that I got an interrupt on the SP update.
> 
> But anyway I think that lines out __SREG__,__tmp_reg__ and out
> __SP_L__,r28 should be swapped.

I'm agree this seems strange, but ...

It's a specific point of avr architecture.
Interrupts will be enabled only after the next instruction (after out
__SREG__) will be executed.

Denis.




reply via email to

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