Hi James > https://cl.ly/1M3I3Y2L1421 thanks for sharing I find this byte layout useful for adding comments to bits movlw b'00111100' ;port has only bits 0-5 ; x n/a ; x n/a ; 1 LFO switch i/p, 10k pull-up ; 1 AN3 ; 1 /mclr, 100n + 10k RC delay ; 1 AN2 ; 0 not AN1 (PGC) ; 0 not AN0 (PGD) movwf trisa Joe ----- No virus found in this message. Checked by AVG - www.avg.com Version: 2016.0.7690 / Virus Database: 4627/12692 - Release Date: 07/27/16 --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .