Experimenting with PORTA discovered that RA5 is not reflected in the debugger accurately it seems. I clearly (using a shadow register) set the pin high, the pin measures high but the debugger indicates it is 0 Another debugger gotcha, best i read the manual again. Justin --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .