Skip to main content

Problem:

At compilation time you get an error indicating:
0019c program checked with non optimal alignment Optimal alignment is 4

Resolution:

This error can be fixed by specifying the ALIGN directive with the following format in the project properties:

ALIGN(8)

The ALIGN directive 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.