Specifications

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