On Nov 13, 2010, at 11:38 PM, James Newton wrote: > return (int)(ADRESH << 8 + ADRESL); Be careful of your order of operations. I don't think that this does =20 what you think it does... BillW --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .