Steve Smith wrote: > You will need a pair of lines in the startup > > Movlw 07h ; Val for all digital > Movwf CMCON ; for the CMCON reg That is correct, and he will also need to move all the variables currently attempting to occupy RAM locations 0x0C thru 0x1F. On the 16F628, free RAM starts at 0x20. Outside of that, I can't think of anything else he needs to do different. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist