On Sun, 14 Nov 2010, William \"Chops\" Westfield wrote: > 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 > what you think it does... Nor should it have a cast. -- John W. Temples, III --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .