[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] do-while problem

From: Lee Mitchell
Subject: Re: [avr-gcc-list] do-while problem
Date: Wed, 5 Jun 2002 11:19:27 +0100


> ABC is updated by an interrupt routine. breq.-4 only jumps back to the
> cpi statement, so the updated ABC is not taken into account. Loops
> forever!

did you mark ABC as volatile ? if not, that is your problem.

avr-gcc-list at http://avr1.org

reply via email to

[Prev in Thread] Current Thread [Next in Thread]