[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] RE: [bug #24231] AVR Mistakes Value in Register
From: |
Weddington, Eric |
Subject: |
[avr-libc-dev] RE: [bug #24231] AVR Mistakes Value in Register |
Date: |
Tue, 9 Sep 2008 17:03:27 -0600 |
> -----Original Message-----
> From: Chris Troutner [mailto:address@hidden
> Sent: Tuesday, September 09, 2008 4:55 PM
> To: Weddington, Eric
> Cc: address@hidden
> 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.