ALIGN

Returns the location-counter value, aligned on a specified boundary.

  ALIGN(alignValue)  
Parameter

alignValue

Alignment-boundary specifier; must be a power of two.

Remarks

The ALIGN function does not update the location counter; it only performs arithmetic. Updating the location counter requires an assignment such as:

  . = ALIGN(0x10); #update location counter to 16-byte alignment