piclist 2008\07\01\084310a >
Thread: Strange PIC12F675 or user problem... pin cross-connect?
www.piclist.com/techref/microchip/devices.htm?key=pic
face picon face BY : 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

<010901c8db77$d2ea70f0$89aafea9@ivp1> 7bit

See also: www.piclist.com/techref/microchip/devices.htm?key=pic
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Strange PIC12F675 or user problem... pin cross-connect?

month overview.

new search...