> -----Original Message----- > From: Chris Troutner [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 09, 2008 4:55 PM > To: Weddington, Eric > Cc: [email protected] > Subject: Re: [bug #24231] AVR Mistakes Value in Register > > I am compiling with optimization turned off. I couldn't find > where in the assembly that r1 gets assigned the value of one. > However, it appeared to me that the compiler expected > register r1 to be zero, but when I simulate, it always > contains the value of 1 when I get to the breakpoint, before > the instruction "STS 0x0100, R1" is executed. >
Please try your application in a "real-world" environment. We need to determine if this is a compiler issue, or a simulation issue. _______________________________________________ AVR-libc-dev mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/avr-libc-dev
