This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

How to force comipler generate LCALL and LJMP for all funciton call?

I am writing a library for 8051 mcu. this library call some outside functions, i mean some routine defined by user, I am not sure how far those codes will be seperated from my library in code space, to be sure, I like to force compiler generate a long jmp for all these calls.

( I am writting some stub to simulate user's routines now.)

Parents Reply Children