Syntax

ALIGN type | number

The operand given after the directive defines the alignment requirement. If a type is given the location counter is adjusted to be divisible by the size of the type with no remainder. If a number is given the location counter is adjusted to be divisible by 2 number with no remainder.

Example
ALIGN LONG

This aligns the location counter so that it lies on a 4-byte boundary as the type LONG has size 4.

Example
ALIGN 3

This aligns the location counter so that it lies on a 8-byte boundary as 23 is 8.