• Overlay/function pointers
    Hi, In our project we are using function pointers. After compiling the project, we got "RECURSIVE CALL TO SEGMENT" warning. By selecting OVERLAY (sfname ! *)in BL51, that warnings was removed. If we...
  • Custom support for function pointers.
    Just as the compiler has added custom support for bits, it should also add custom support for function pointers. Here is one idea: //Saves on storage (1 byte) //Is faster (fixed jump table) /...
  • Pointer to function
    Hello all, can anyone give an example or link how to use a pointer to a function? I have a function with an (unsigned char) argument and which returns also an (unsigned char) value and I want to access...
  • function pointer
    hi all, do you think i can work around function pointers as following: extern void a(void); extern void b(void); void fptr(void *fp) { if (fp == a) a(); if (fp == b) b(); } void...
  • Function pointers
    Hello all, We have a strange problem. During execution of a function, the control goes to some different line in a different function, without making a call it... I will try to explain the scenario...