what is the difference between jump to a function and jump to the isr? what are the steps involved? (discuss regarding return also)
what is the difference between jump to a function and jump to the isr? what are the steps involved?
Is this a question asked in a class at school? If so, I would question their teaching methods. Rather than discussing 'functions' and 'ISRs' in general, I think it would be much more beneficial to learn about a certain architecture (CPU/language/OS/...) and how it all works within the architecture. There would not be a need for such questions then. After all, engineers deal with certain architectures in their work, they don't speculate about 'functions' and 'ISRs' in general. This reminds me how at my first electronics lesson I was confronted with a sofisticated model of a bipolar transistor valid from 0 Hz to 1 GHz. Now I realize that you should start thinking about a transistor as a simple switching device, later extending the model to cover other use cases. Incompetent teachers...
"Incompetent teachers..."
When I was at college, I was told that a function should have no more than three lines of code.
View all questions in Keil forum