• Null Pointers
    What happens if i try to write data to memory location where NULL POINTER is pointing, in ARM? _my understanding_ The Null Pointer is a Pointer pointing to 0. Does that mean memory location 0x0(the...
  • C51: Null function pointer
    I am trying to convert an unmaintainable user interface driver over to something that uses data structures to define the menu organization (This example is stripped down to the bare minimum from my...
  • Pointer interpreted as a NULL pointer. Bug?
    I have a struture which is correctly allocated at address 0x4000 (read from the M66 file). The DPP0 is used by Keil to point to the NDATA memory chunk: DPP0 = 1 so the pointer to my struture, when...
  • 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...
  • Reassigning pointer to a structure
    I'm having trouble with reassigning a pointer to a structure. Given the 2 files, structure.h and structure.c listed below: structures.h ------------ struct device_struct { unsigned char address;...