• Function pointer to printf() problem
    My chip has internal ROM and also external ROM. What I want to do is let my customers write their own external program and the internal functions could be called and executed. I did experiment with printf...
  • Problem with pointer to function
    Hello, data char var; void (code * data fptr)(void); void fun(void) { var = 10; } void main(void) { fptr = fun; (*fptr)(); // OK! (*(fptr = fun))(); // This line generates bad code! (*(fptr...
  • Problem using function pointer
    hi! I am using Keil C compiler(C51) 7.20 Version. i am facing some problem in pointer to function in arrays. If I add a new function to the arrays in function pointer at runtime, my program restarted...
  • Function Pointers problems...
    Hi, everybody my memory model is large, and I have 2 banks (bank0 and bank1). In one module of a bank0 I define: void (code *fp_tab[]) ( void ) = { MyFunct }; In Common Bank I define: void MyFunct...
  • Pointer to function problems
    Hi, This post is about the classic problem creating pointers to function using the overlay procedure. The reference in the manual suggest the OVERLAY directive to modify the call tree that is...