Previous Topic Next topic Print topic


ALIGN

Specifies the memory boundaries on which data items of level-01 or level-77 are aligned.

Syntax:

>>-.---.--ALIGN--"integer"-----------------><
   +-/-+

Parameters:

integer The distance from the start of one level-01 to the start of the next is a multiple of this. Can take any value from 1 to 255.

Properties:

Default: ALIGN"8"
Phase: Syntax check
$SET: Initial

Dependencies:

IBMCOMP or NORM sets ALIGN"8" immediately.

DIALECT"RM" sets ALIGN"4" immediately.

RM"ANSI" or RM sets ALIGN"2" immediately.

Comments:

Data items of level-01 are aligned on byte boundaries that are multiples of the value given.

This can help produce more efficient execution results but does mean more memory might be used.

Setting integer to a number that is not a multiple of four could impair the efficiency of the generated code.

Previous Topic Next topic Print topic