• uV2 Problem -- call via pointer
    I'm debugging some code and have come up against some odd behavior in uV2 -- wondering if it's a known bug or limitation, or perhaps I need to (re-)compile with some options in order for this to work...
  • problem with function pointers
    Hi, I'm trying to succeed in a function pointer. what is wrong with the compiler says: syntax error: token -> 'code' ; column 18 #include <string.h> char str1[10]; xdata unsigned int i; xdata...
  • 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...
  • 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...
  • 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...