I've done it many times, setting up ADCON1 to split between analog inputs and digital I/O. This one has me a little baffled. I have for the setup banksel ADCON1 movlw b'10000100' movwf ADCON1 This sets up the port, and looking at the value in the watch window confirms thats it However, when I go to write out to PORTA, it 'refuses' to set the bit. I use the watch window to set the value as well, single step and the bit clears banksel TRISA movlw b'00001011' movwf TRISA So that sets the directions just fine banksel PORTA movlw b'00010100' ; 0x14 movwf PORTA I come back after a single step and it returns to a 0x04 And yes, confirmed on the hardware that the bit isnt being set Anyone run into this before? _________________________________________________________________ Find a broadband plan that fits. Great local deals on high-speed Internet access. https://broadband.msn.com/?pgmarket=en-us/go/onm00200360ave/direct/01/ -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body