On 2010-08-10 23:37, David Duffy (AVD) wrote: > ivp wrote: >> David, >> >> 18F don't have banks (yay !!!), so BANKSEL is not needed >> > > Hi Joe, Good news indeed. :-) Yes, whould have been, if it would have been correct. In *most* of the normal cases, there will be way less banking on the PIC18 then on the PIC12/16, but the banks surely are there, actualy 16 of them instead of 4... :-) But there is no bank switching needed for what you where doing in your short demo code. > > I have set the oscillator for INTIO67, watchdog is off, MCLRE is on, > LVP is off. Usualy, it's better actualy showing that you have done that, then just saying so. That is, show the CONFIG setting (if that what is asked about) instead of trying to describe them with your own words. > I do, but the problem is that the 18 series is quite different to what > I'm used to. I'm sure I'll get to understand the expanded instruction > set in due course,... You are talking about "expanded" as the extra instructions not available o the PIC12/16, right ? Not what is called the PIC18 *extended* instruction set, which is something different. And something you should leave to the compiler writers... :-) --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .