> Sorry. To clarify: I am using MPLAB's IDE, the simulator is what I am > using to check the code. The PIC in question is the 16F628. Since this code has no inputs and just produces outputs all by itself, it is a perfect candidate for debugging with the simulator. It sounds like you didn't set up somethine right or import the project correctly. Make the program memory window current, then hit F6 (reset), then keep hitting F7 (step into). If that doesn't single step each instruction, then you've definitely got a setup problem. Check the processor selection, and in MPLAB 6 make sure the debugging tool is selected. It won't do much of anything until you do that. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.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