MikroElektronika PIC Microcontrollers PIC16 Spécifications Page 225

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 266
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 224
mikroElektronika | Free Online Book | PIC Microcontrollers | Appendix B: Examples
The purpose of the header and initial directives is briefly described below.
Header:
The header is placed at the beginning of the program and gives basic information in the form of comments (name of the
program, release date etc.). Don't be deluded into thinking that after a few months you will know what that program is
about and why it is saved in your computer.
Initial directives:
list p=16f887
This directive defines processor to execute a program.
#include <p16f887.inc>
It enables the compiler to access the document p16f887.inc (If you have MPLAB installed, it is placed by default on C:
\Program files\Microchip\MPASM Suite). Every SFR register contained in this document, as well as every bit, has its own
name and address. If the program reads for example:
http://www.mikroe.com/en/books/picmcubook/appb/ (20 of 54)5/3/2009 11:36:02 AM
Vue de la page 224
1 2 ... 220 221 222 223 224 225 226 227 228 229 230 ... 265 266

Commentaires sur ces manuels

Pas de commentaire