如果赋值语句为赋值一个32位的值,那么是不是有可能在16位赋值完毕的时候,被中断所打断呢?
那么我在main循环中和某个中断中公用一个值的时候,且该值为关键的控制量时,做什么处理会比较安全呢?
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
如果赋值语句为赋值一个32位的值,那么是不是有可能在16位赋值完毕的时候,被中断所打断呢?
那么我在main循环中和某个中断中公用一个值的时候,且该值为关键的控制量时,做什么处理会比较安全呢?