Import (import external symbol), D import (import external symbol) – Echelon Neuron User Manual
Page 156

IMPORT (Import External Symbol)
The IMPORT directive is used to import symbols from other Neuron Assembly
modules or a Neuron C application.
An imported symbol must be defined as a label and exported within the module
from which it is imported. Exporting a symbol makes it available to the linker.
The linker uses imported symbols to resolve references to other object modules.
It is possible, and sometimes required, to export and import a symbol within the
same assembly file to permit the linker to resolve expressions between code and
data segments.
See also APEXP (Application Symbol Export) and EXPORT (Export Symbol).
Syntax:
The IMPORT directive requires a symbol, or a list of symbols separated by
commas. This directive cannot have a label.
IMPORT symbol
IMPORT symbol, symbol, ...
Each symbol in the argument of the IMPORT directive is designated as an
imported symbol.
146
Neuron Assembler Directives