Are you sure that "clr" has an impact on SREG? I think you should double
check...


Johannes Bauer wrote:
> 
> On 12.08.2010 18:13, Johannes Bauer wrote:
> 
>> This appears to be strange to me. The "clr r1" instruction should IMO be
>> placed after the first "push r0" instruction.
> 
> You are wrong, Johannes. It appears to you that the "clr r1" instruction 
> should be placed after the SREG has been pushed (obviously, as clr also 
> clears the SREG flags).
> 
> But otherwise, I still think there's a bug :-)
> 
> Regards,
> Johannes
> 
> _______________________________________________
> AVR-GCC-list mailing list
> AVR-GCC-list@nongnu.org
> http://lists.nongnu.org/mailman/listinfo/avr-gcc-list
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Compiler-error-creating-ISR-prologue--tp29420432p29435581.html
Sent from the AVR - gcc mailing list archive at Nabble.com.


_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to