Steven Kosmerchock wrote: > > the simulator acts funny! The "w" register will get the correct value, but por tc The PCLATH won't have any effect on instructions like movwf etc. except if the PCL is the target register, so that should not be your problem. I haven't used MPLAB yet, but on older simulators, you won't see a change on the port bits if they are set as inputs. Are you addressing the correct RAM page? -- Best regards Tony Multimedia 16F84 Beginners PIC Tools. ** NEW PicNPro Programmer and Port Interface ** http://www.picnpoke.com Email picnpoke@cdi.com.au