We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Is a label local or global? For instance, two functions aa1() and aa2() are in file aa. A label L is placed in aa1(). Another function bb() is located in bb file. Which function(s) can access the label L? Thank you for aswering my question. chao.
Stefan, Thank you very much. There is nothing wrong with your approach. Actually there are some disadvantages on the fixed return address approach and I am aware of that. My plan 2 is exactly what you pros (in both threads) suggested: place a flag in the ISR and let main() do the display thing. I try to evaluate the cons and pros on both approaches, fixed return address (if it is doable) and flag in ISR. It seems I have to go for the flag approach (don't say I didn't try). There is no perfect solution for this project based my limited knowledge. I have to give up something to gain something. It all depends on what is more important or significant to what. After all, perfection is not a solution at all. chao.