I'm using the latest, 1.6.2 of AVR Libc. As to the rest, I'm using whatever
comes with the latest 20080610 release of WinAVR.

I've noticed some discrepancy in simulation behavior in AVR Studio between
the Simulator, Simulator 2, and use of JTAG mkII for emulation.

If you set a break point at the "service = 0" line, and then go to
dissassebly when the simulator reaches that point, you should see it call
the "STS 0x0100,R1" instruction. Are you not seeing it on your machine?

I was able to get around it by using the instruction "service &= ~(1<<0)".

Chris

On Tue, Sep 9, 2008 at 12:16 PM, Eric Weddington <[EMAIL PROTECTED]>wrote:

>
> Follow-up Comment #1, bug #24231 (project avr-libc):
>
> What versions are you using of binutils, gcc, and avr-libc?
>
> When I compile your code, I do not see where r1 is getting set to a value
> of
> 1.
>
>    _______________________________________________________
>
> Reply to this item at:
>
>  <http://savannah.nongnu.org/bugs/?24231>
>
> _______________________________________________
>  Message sent via/by Savannah
>  http://savannah.nongnu.org/
>
>
_______________________________________________
AVR-libc-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to