Motorola DSP56800 Guide de l'utilisateur Page 291

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 446
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 290
ELF Linker and Command Language
Linker Command File Syntax
291Targeting MC56F83xx/DSP5685x Controllers
Listing 10.7 Sample ALIGNALL Command Usage
file.c (.text)
ALIGNALL (0x10); #everything past this point aligned on 16 bytes
file.c (.data)
Arithmetic Operations
Standard C arithmetic and logical operations may be used to define and use symbols in
the linker command file. Table 10.1
shows the order of precedence for each operator.
All operators are left-associative.
Comments
Comments may be added by using the pound character (#) or C++ style double-
slashes (//). C-style comments are not accepted by the LCF parser. Listing 10.8
shows examples of valid comments.
Listing 10.8 Sample Comments
# This is a one-line comment
* (.text) // This is a partial-line comment
Table 10.1 Arithmetic Operators
Precedence Operators
highest (1) - ˜ !
2 * / %
3 + -
4 >> <<
5 == != > < <= >=
6 &
7 |
8 &&
9 ||
Vue de la page 290
1 2 ... 286 287 288 289 290 291 292 293 294 295 296 ... 445 446

Commentaires sur ces manuels

Pas de commentaire