Data Definition Language (DDL) Reference Manual
DDL Compiler Commands
Data Definition Language (DDL) Reference Manual—529431-004
9-17
CFIELDALIGN_MATCHED2
Example 9-6. CFIELDALIGN_MATCHED2 Command
C Structure
struct s3
{
char x;
struct
{
char c[3];
} ss4;
char y;
} s3;
Alignment of s3 with Default Alignment
All structures and substructures must begin and end on even-byte boundaries.
Alignment of s3 with CFIELDALIGN_MATCHED2:
Members of the structure can start on odd-byte boundaries.
Byte
45
1 word
filler
67
1 word
y
VST010.vsd
filler
01
1 word
x c [1]
23
1 word
c [2]
filler c [0]
01
1 word
Byte
c [0] c [1]
23
1 word
c [2]
45
1 word
y
VST011.vsd
fillerx