The .local directive establishes a new program section for local labels (labels beginning with a dollar sign [$]). All local labels between two .local directive statements have their values assigned to them only within that particular section of the program. Note that a .local directive is assumed at the beginning and the end of a program; thus, one .local directive within a program divides the program into two local sections. Up to 255 .local directives may appear in one assembly.
Local symbols may not be used as publics or externals.