Echelon Neuron Manuel d'utilisateur Page 146

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 237
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 145
1 2 ... 141 142 143 144 145 146 147 148 149 150 151 ... 236 237

Commentaires sur ces manuels

Pas de commentaire