avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] use of GOTO statement


From: Hugo González Monteverde
Subject: Re: [avr-gcc-list] use of GOTO statement
Date: Sat, 13 Aug 2005 19:48:20 -0500
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

Why exactly do you want to return to a different place? Looks like another, less complicated solution may be better. As Steve said, the standard way of having INT code affect non INT code is to set asynchronous flags (remember they should be volatile too) in the main() code...

In any case, I have never used goto myself and was wondering... I think it only allows jumping to a label in the same function... or is it a UNIXism of me?

Hugo

juan antonio jimenez martinez wrote:
Hi, Im working with the usart interruption in an ATMEGA8, my question is, how can I use the GOTO statemente to change the return address from my interrupt routine.

thanks

Antonio Jimenez

_________________________________________________________________
Platica con tus amigos en linea con T1msn Messenger http://messenger.t1msn.com.mx/



_______________________________________________
AVR-GCC-list mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list





reply via email to

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