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

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

Re: [avr-gcc-list] May avr-gcc emit EIJMP/EICALL?


From: Jan Waclawek
Subject: Re: [avr-gcc-list] May avr-gcc emit EIJMP/EICALL?
Date: Thu, 13 Oct 2011 23:06:25 +0200

>Confused. EIND could be set once at program start (e.g. to 1) and then left so
>forever but avr-gcc requires EIND = 0?

No. You are mixing two independent answers.

I was just trying to hint a possible reason why the EI stuff was used at all, a 
possible idea which might have been abandoned later.

>
>So the conclusion is to do nothing about it and let things as they are and rely
>on EIND = 0 and if EIND = 1 the user must not blame the compiler?

In my humble unqualified and unimportant opinion, it does not really matter.

As it is now, the EI stuff relies on EIND being permanently 0, thus can be 
replaced by plain IJMP/ICALL. But since that happens, it does not matter what 
is the value of EIND anymore.


Jan




reply via email to

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