On Feb 12, 2006, at 9:20 AM, Ned Konz wrote:

Why does it seem like a bug?

It seems like a bug because that code wouldn't execute properly. I'd step through it in gdb (in assembly), and watch as it decremented a register, then a few instructions later reloaded the register with the previous value. Now that I'm no longer in '103 compatibility mode (thanks again for that tip), it doesn't seem to happen.

Is this your entire program, or might there be an interrupt handler that's trashing one or another registers or memory locations?

Even with empty ISRs it happened.

--
Rick


Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
AVR-chat mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to