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

Override / replace multiplication routines from library

Hello,

I am developing an 8051 system / chip where I want to put the multiplication/division routines in a ROM.
The real program should then call these routines instead of adding the library to the code.

For UART I exchange/override the getchar/putchar library routines with own ones.
Is such an approach also possible for the multiplication routines?

The fallback method would be to define all possible multiplications/divisions as functions. And replace all * / with rom function calls. This increases the call overhead and I would write the code in a special style. This is what I want to avoid.

Thanks and BR, Joachim

Parents Reply Children
No data