| ??? 06/09/07 22:49 Read: times |
#140493 - C handles the details Responding to: ???'s previous message |
Spencer said:
For the ISR do I need to push and pop the reg’s R0 to R7? Not if you're coding in C. The compiler will take care of details like that for you. A good compiler would probably preserve only the registers it uses within the ISR. BTW, You can answer questions like this one for yourself, and have some fun in the process by writing simple routines and then inspecting the code that's generated when you compile them. -- Russ |
| Topic | Author | Date |
| Register bank usage | 01/01/70 00:00 | |
| Not Keil! | 01/01/70 00:00 | |
| 2nd Question about register bank | 01/01/70 00:00 | |
| C handles the details | 01/01/70 00:00 | |
| C handles the details | 01/01/70 00:00 | |
a simple 'rule' | 01/01/70 00:00 |



