• Problems with pointer.
    Hi, I have the following chunk of code: unsigned char code A[4]={3,'L','P','L'} unsigbed char code B[3]={2,'P','P'} If a customer by means of a keyboard, writes the letter A in a variable a pointer...
  • 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...
  • A strange problem regarding pointer
    I MUST set a pointer to 0xFF0000 in code space and use instructions as follows: char code *ptr = 0xFF0000; value = *ptr; On debugging, I watch the following code from diassemble window: 11...