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

Support for calling through function pointer tables

Hi,

does anyone know if Keil has added support for calls through a function pointer table, or if they are about to do so?

Right now it is a bomb, especially when using banked memory.

/Christian

Parents
  • Sigh!

    I thought that it was pretty obvious that we were taking about standard C code and not specific compiler instructions as 'Setbit', which refers directly to assembler instructions.

    What you are saying is almost like: "the compiler doesn't need to handle switch-case statements as it handles if-else more effieciently". And that doesn't make sense.

    I am not talking about making trade-offs with the existing Keil optimizations but to add some extra functionality that will improve handling of function pointers in a Keil environment.

    Forget about it. I don't think you understand what I am talking about.

Reply
  • Sigh!

    I thought that it was pretty obvious that we were taking about standard C code and not specific compiler instructions as 'Setbit', which refers directly to assembler instructions.

    What you are saying is almost like: "the compiler doesn't need to handle switch-case statements as it handles if-else more effieciently". And that doesn't make sense.

    I am not talking about making trade-offs with the existing Keil optimizations but to add some extra functionality that will improve handling of function pointers in a Keil environment.

    Forget about it. I don't think you understand what I am talking about.

Children