I'm using an 18F2320 for the first time. I have _MCLRE_OFF_3H set (unset? you know what I mean) but PORTE (all bits, mainly RE3) reads as 0. With movf, btf*, etc. In this setup it doesn't reset the chip, so that suggests the fuse is set right. With MCLRE_ON the pin resets the chip using the same button I'm trying to read. There is no TRISE.3 (on any of this series) and in fact on this part no TRISE at all. What's going wrong? I've checked the datasheet, the errata, searched the web. The MPLAB SIM is no help -- it doesn't think the part has a PORTE. I've used the MCLR-is-GPIO feature of the 12F675 successfully... -- Ben Jackson http://www.ben.com/ -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics