Echelon Neuron Manuale Utente Pagina 146

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 237
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 145
1 2 ... 141 142 143 144 145 146 147 148 149 150 151 ... 236 237

Commenti su questo manuale

Nessun commento