Quote Originally Posted by sinoteq View Post
Does not only show the name and address of each register,it does that ALSO. Look at Figure 2-4,2-5 and 2-6 they ONLY name and addresss information. The key with Table 2.1 is under the text "Value on POR,BOR" at the top of each table. Table 2-2,2-3,2-4 are similar but addresses different functions. It is only here we can figure out what settings the PIC has after a BOR or POR event. The safe way is to set all registers to a known value the first thing you do in your program or let the POR or BOR event make it for you. Or a combination of these......

If you do not know what functions are activated how can you turn them off?


Most people stick to one or two different PICs and use these for many different applications, because of this they learn what and what not to to..... Many times the hard way
Hi sinoteq,
look in your Microchip mpasm suite folder for the PIC Chip number of your choice .inc file and open it. You will see the register names and syntax for using them, at least in as much as the correct names, I . E. things like . . . Configuration Bits, OSCON , PCON etc . . . Definately worth a look.
JS