At 01:08 PM 2/14/01 -0500, Mark Bishop wrote: >This code > >MOVLW FF >OPTION > >loads the OPTION register with a 0b00111111 > >I can't find anywhere in the Microchip docs stating that the two MSBs are >masked out. >I'm trying to set the port b pullups to disable on this chip and I've run >out of ideas. I'm not sure if it will help, but why not try 0xFF instead of just FF. I was in the middle of writing a long dissertation about how that would be the case you were trying to write the TRIS register. But then I saw that you quite clearly state OPTION - and I've never had a problem doing what you are trying to do. No other ideas - sorry. dwayne Dwayne Reid Trinity Electronics Systems Ltd Edmonton, AB, CANADA (780) 489-3199 voice (780) 487-6397 fax Celebrating 17 years of Engineering Innovation (1984 - 2001) * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Do NOT send unsolicited commercial email to this email address. This message neither grants consent to receive unsolicited commercial email nor is intended to solicit commercial email. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body