I'm writing simple programs for a PIC 16F877A. Attempting to simulate with MPLAB.
Linear code...no problem.
But I've never written a program that didn't have multiple asynchronous interrupt inputs and timers.
The MPSIM seems to fall apart in that instance. Yes, there are ways to simulate inputs, but the asynchronous nature is where all the problems happen.
State another way, no problem simulating things that can be fixed by inspecting the code. Adding test code messes up the timing.
Is there a tutorial on dealing with asynchronous microcode? Tips for organizing code to minimize those asynchronous problems? Simulation of same?
Better freeware simulator?