MikroElektronika PIC Microcontrollers PIC16 Specifiche Pagina 225

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 266
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 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
Vedere la pagina 224
1 2 ... 220 221 222 223 224 225 226 227 228 229 230 ... 265 266

Commenti su questo manuale

Nessun commento