Everything

.ALIAS [V1.11.00 or later]


The .ALIAS directive sets information about a symbol.

[Syntax]

Symbol field
Mnemonic field
Operand field
Comment field
 
.ALIAS
alias, symbol-name
[; comment]

[Description]

-

This directive generates an alias of the symbol.

-

The generated alias can be specified in the .PUBLIC directive.

-

If a label name that does not exist in any module is specified for the symbol name, an error will occur.

-

This directive must be described after the definition of the symbol specified by the symbol name on the operand.

[Example]

To allow only the alias symA to be referenced from outside the module, specify as follows.

symB:
.PUBLIC symA
.ALIAS symA, symB
SECTION=
SYMBOL ADDR SIZE INFO COUNTS OPT
 
 symA
   00000120 0 none ,g 0
 symB
   00000120 0 none ,l 0