Make sure that if you have edited your code, you must recompile it. Even though it appears changed when you run the code it is using the instructions which were last compiled. Example: If you had a goto CONFIG statement on the third line of START which was then modified to remove the goto CONFIG, the simulation software would still goto CONFIG. Once the program is recompiled it is now using the newly modified code. Hope this helps Todd Brisebois > Hello! > > Its me again, sorry to bother you but I'm having a strange problem with > MPLAB-SIM. > > I am running a piece of code but on the third line of START the simulator > jumps back to a line in the CONFIG section. > > Any ideas why this is happening? > > Thanks, Michael Hearn > >