Echelon Neuron Uživatelský manuál Strana 146

  • 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 145
%lookupTable DATA.B h’12,h’2C,h’39
The following example defines a constant string “Hello, World!” and includes a
terminating zero byte:
SEG CODE
ORG
APEXP %hello
%hello DATA.B “Hello, World!”, 0
The following example declares an array of pointers to three functions funcA,
funcB, and funcC:
SEG CODE
ORG
IMPORT funcA, funcB, funcC
APEXP %funcTable
%funcTable DATA.B PTR funcA
DATA.B PTR funcB, PTR funcC
136 Neuron Assembler Directives
Zobrazit stránku 145
1 2 ... 141 142 143 144 145 146 147 148 149 150 151 ... 236 237

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

Žádné komentáře