i960 Processor Compiler User's Guide
7-12
7
Figure 7-3 shows the optimal natural alignment of the structure, without
any alignment pragma.
Figure 7-3 Optimal Natural Alignment of std_struct
m4a
m1a
m2a
m8a
Byte 0
20
16
12
8
4
7
m1b
0 7 0 7 0 7 0
XXXX
XXXXXXXX XXXXXXXX
OSD401
mbit7
mbit5
mbit6
XXXXXXXX XX
m8a (continued)
XXXXXXXXXXXXXXXX
XXXXXXXX
XXXXXXXXXXXXXXXX
XXXXXXXX
XXXXXXXX
XXXXXXXX
24
28
Figure 7-4 shows the backward-compatible natural alignment of the
structure, without any alignment pragma but with the appropriate compiler
option for backward compatibility specified (for gcc960,
mic-compat; for
ic960,
Gbc).