I think you have stumbled upon a bug in mplab here , Initially I did not try this and gave you general info on how to change the bit The function of the pin should be determined by the config word either it is the mclr input or a general purpose input The assembler does generate a different hex file though i did not try to check the hex file out my guess is this works HOWEVER no matter which hex file you simulate you cannot change the bit any using asynchronous stimulus i can always reset the processor, not change the status of the general purpose pin I think you should report this as a bug to microchip Peter From: Glen -----Original Message-----To: PICLIST@MITVMA.MIT.EDU Date: Sunday, May 23, 1999 11:31 AM Subject: Re: mplab-step prob? >Peter van Hoof wrote: > >> the easiest way is to open a new watch window , pick gpio from the list >> #### double click the gpio in the watch window at this point > > > >> change the data (press read , modify it , press write) > > > >HI PETER, >i tried double click the gpio in the watch window . didn't do a thing !!! > >ok , got to the stage of press write.after i double clicked the address > >when i press step or stepover it still just loops back again. > >**** how do i step over this code ? ***to test the rest of my program !!!! > >chcycs btfsc gpio,3 ;check for 0 > goto chcycs >lw btfss gpio,3 ;check for 1 > goto lw > >thanks for yoru time >glen