MikroElektronika PIC Microcontrollers PIC16 Specifikace Strana 226

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 266
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 225
mikroElektronika | Free Online Book | PIC Microcontrollers | Appendix B: Examples
bsf INTCON, GIE
It means that the GIE bit of the INTCON register should be set. Instruction, as such, makes no sense to the compiler. It has
to access the ".inc" document in order to know that the seventh bit of the SFR at the address 000B hex should be set.
errorlevel -302
This is a "cosmetic" directive which disables the irritating message "Register in operand not in ..." to appear at the end of
every compiling process. It is not necessary, but useful.
__config
This directive is used to include config word in the program upon compiling. It is not necessary because the same
operation is performed by software for loading program into chip. However, do you have any idea which software will be
used by the end user? What options will be set by default? You are the end user?! Do you know which program you will be
using for MCU programming next year? Make life easier for yourself, take this directive as a necessary one and include it in
your program.
http://www.mikroe.com/en/books/picmcubook/appb/ (21 of 54)5/3/2009 11:36:02 AM
Zobrazit stránku 225
1 2 ... 221 222 223 224 225 226 227 228 229 230 231 ... 265 266

Komentáře k této Příručce

Žádné komentáře