Echelon Neuron Uživatelský manuál Strana 156

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 237
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 155
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
Zobrazit stránku 155
1 2 ... 151 152 153 154 155 156 157 158 159 160 161 ... 236 237

Komentáře k této Příručce

Žádné komentáře