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" (Dialect)
Phase: Syntax check
$SET: Initial

Dependencies:

Set to ALIGN"8" immediately by IBMCOMPor NORM. Set to ALIGN"2" immediately by RM or RM"ANSI".

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