I would like to know if I can use "_at_" to locate struct members to absolute memory locations. For instance, I have a struct variable defined as following,
xdata struct { unsigned char member1; unsigned char member2; . . unsigned char member5; unsigned char member6; } myStruct;
"myStruct.member1 to myStruct.member5 are located in a contiguous memory block, but myStruct.member6 is located somewhere else..." by definition a 'C' structure is contiguous in memory - therefore you cannot achieve this with a 'C' structure! Mike Kleshov was right when he wrote about about violating priciples!