• Pointers
    Need a clarification. I want to define two poiners. One pointing to an area in XRAM and the other within CODE memory. I further want both of these pointers to be stored in XRAM. unsigned char...
  • Initialize constant pointer to pointer
    const int an_object = 0; const int * const MC_buf = &an_object; const int * buffer = MC_buf; This code was original using structs, but it is simplified in this example. It doesn't matter where...
  • Pointer to Structure with pointer.
    I'm having a problem with a pointer to struct. I'm working with the PC16552 UART, (it has 2 UARTs), and I created a struct for each UART like this: typedef struct _uart { uchar xdata *ucBuffer; uchar...
  • array of pointers to arrays of pointers to string
    Yes, the real problem is, I would like to write an easy to switch, multilingual menu. And I imagine, an array like that should work. But there seems to be some brain blocking in 1. How to define and...
  • pointer of pointer type??
    what is different form, follow as: (1)code XBYTE *AA[]={...}; (2)code void (*BB[])(void)={...};