Bob Ammerman wrote: >Ok, the MChip spec sheets go to great trouble to define the state of various >registers on a reset. > >The 'wisdom' here is that you ignore that and reinitialize them anyway. > >Is this really needed? > >What next, are we going to assume that ADDWF won't correctly add 2 + 2. > What next is that you can write a callable routine that initializes all the registers to a known state, and then call this routine - in s.w. - whenever you want to get the processor back into that state. Has nothing to do with "faith". -- http://www.piclist.com hint: PICList Posts must start with ONE topic: "[PIC]:" PIC only "[EE]:" engineering "[OT]:" off topic "[AD]:" ad's