On 2010-08-10 15:36, ivp wrote: > David, > > 18F don't have banks (yay !!!), so BANKSEL is not needed They do, but BANKSEL is not needed to select between TRISx and PORTx registers, that are in the same bank (Bank15 or "access bank"). You still need BANKSEL to access anything not mapped to the access bank (or use the index regs, but that is another thing...). --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .