??? 11/06/08 06:51 Read: times |
#159814 - That is the point Responding to: ???'s previous message |
If you are writing in C an feel the need to add an ASM funtion it is because you think you can do it better, Faster, and smaller in ASM then the compiler can. Using a C wrapper for an ASM function means the compiler must decide what to save, not you.
If you call a 100% ASM funtion from C you save only what you use. You can call and goto to your hearts content. The compiler will not care. Your program may if you do not restore things to normal. This is very important in interrupt functions. |