Strange PIC12F675 or user problem... pin cross-connect?
Jinx email (remove spam text)
> > and the datasheet is fairly authoritative, not?
> Not when it comes to code
Do not trust datasheet code examples. Some are too simple (bank
selection for example), others are just wrong and/or inappropriate
Copy/Pastes from other PIC datasheets
> > Assembler appears to be somewhat like perl, TIMTOWTDI ... ;-)
You can use that (whatever it means), but not BANKSEL ? !! 8-)
> > I would rather use less efficient mechanisms that work for me
> > and are clear in my head and that I understand, than use 'better'
> > mechanisms that don't
To be honest, scatterings of
BCx STATUS,RP0, with or without BCx STATUS,RP1
through code looks really untidy and is distracting and tiring to read.
Plus it's more typing and a lot easier to make a mistake with. There
are so many code faults that can be traced back to banking
See also: www.piclist.com/techref/microchip/devices.htm?key=pic
You must be a member of the
piclist mailing list
(not only a www.piclist.com member) to post to the