• Structures
    In my application I have a number of different structure variables. In all cases the members are unsigned char. I pass the structure to a function via a pointer where the various structures may have...
  • Problem with structures containing structures
    Hello, I have a problem with the following structure declaration: typedef struct { HDEntriesTYPE HDWindowStartSTRUCT; } actualPlayerStatusTYPE; typedef struct { unsigned long StartClusterUL;...
  • How to declare a structure?
    I define an area of memory that in 'non-volatile' so it doesn't get cleared on powerup. I do this is a module called memmap.asm like this: MyData DS 512 ;Located at 0x801C In another module, I want...
  • Offset to a member of a structure (relative to that structure)
    I have a structure I would like to compute the offset to members within. I've attempted this numerous ways all of which fail to generate a CONSTANT offset instead the compiler insists and create...
  • structures
    so lots of threads on this forum say you must not care about how the compiler puts things into structures with alignment and padding and stuff then we look at example code with structures used to...