MASM ALIGN Directive May Not Work Properly

ID Number: Q46919

5.00 5.10 5.10a | 5.00 5.10 5.10a

MS-DOS | OS/2

Summary:

The ALIGN directive for MASM may not work properly. It aligns values 2

bytes beyond where they should be aligned, e.g. if ALIGN 4 is being

used, values align only at the following offsets:

02h, 06h, 0Ah, 0Eh, ... etc.

If ALIGN 16 (decimal) is being used, values are aligned only at the

following offsets:

02h, 12h, 22h, 32h, ... etc.

This is not a problem for word alignment. ALIGN 2 has the same effect as

the EVEN directive.

Microsoft is researching this problem and will post new information as

it becomes available.