Export (0) Print
Expand All
4 out of 28 rated this helpful - Rate this topic

Structure Alignment Examples 

The following represent a set of examples showing structure requirements.

Example 1

AMDConversionExample1 graphic

Example 2

struct
{   // size = 24 bytes, alignment = Quadword
   int a;
   double b;
   short c;
};
AMD Conversion Example graphic

Example 3

AMD Conversion Example3 graphic

Example 4

AMDConversionExample4 graphic
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.