Hi,

i looked into the examples and found no nop after dint. It seems all examples 
with dint are wrong.

Rolf

mspgcc-users@lists.sourceforge.net schrieb am 21.06.04 23:20:54:
> 
> Robert Seczkowski wrote:
> 
> > Does anyone has idea in what cases use dint()....eint().
> > If I run the code with one oscilator, Do I need to use
> > dint() when I write to common variable.
> 
> it has nothing to do with the clock source.
> 
> if you modify a global var larger than a word, you have to use 
> dint();nop() ... eint() because the write operation is not elementary 
> and a interrupt could occour while accesing the data.
> 
> chris
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
> digital self defense, top technical experts, no vendor pitches, 
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users




Reply via email to