we must assume that we define a variable as the long (32bit). and so what happens on it's value when this variable is changed in main loop and exactly at this time an intrrupt occurs! can this variable do have any value.
please provide the correct answer and reasoning.
They are lacking, even in Tehran...
OOPS Googling Atomicity may get you in trouble in Tehran