> > 2. two or more structs can be aliased to the same address in memory. > > Don't you just mean: // A pointer to some open RAM char *someMemory = 0x200; typedef struct { int a; int b; int c; } Astruct; typedef struct { char a; char b; char c; } Bstruct; // Lay an Astruct and a Bstruct over the open RAM area. Astruct* pA = someMemory; BStruct* pB = someMemory; ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Mon Jan 30 17:22:33 2012
This archive was generated by hypermail 2.1.8 : 2012-01-30 17:22:36 CET