AnsweredAssumed Answered

How can I force a C function to be called using a JSR or BSR instead of a BRA?

Question asked by Pablo Igor Vicente on Apr 1, 2011
Latest reply on Apr 10, 2011 by Jim Potteabaum

I have a C function which is near (in memory) of its caller (another function also in C).

The compiler generates a BRA instruction to do this call, but I need a JSR or BSR (because I need to save the PC in the stack).

How can I do it?


Thanks in advance.