spiliot
Newbie level 2
Hi guys, just found out this great board.
I try to simulate a circuit based on a PIC18F452 with code written on assembly in Proteus, and even though the code runs OK (as it does in the prototype), I get bogus results in Proteus' CPU Source Code window when I break the code. Although I see my code with instructions like movff, movwf, etc, in the comments, the program displays other dissasembly (gray colored) codes like skpf, incf, and others that have nothing to do with my code. And then when I try to single step the code it jumps or follows instructions that aren't either in the real code (my code) or in the "fictional" dissasemblied code. If I run unconditionaly the code again, it works as it should, until I break it again.
Any ideas?
Moved here by Cluricaun
I try to simulate a circuit based on a PIC18F452 with code written on assembly in Proteus, and even though the code runs OK (as it does in the prototype), I get bogus results in Proteus' CPU Source Code window when I break the code. Although I see my code with instructions like movff, movwf, etc, in the comments, the program displays other dissasembly (gray colored) codes like skpf, incf, and others that have nothing to do with my code. And then when I try to single step the code it jumps or follows instructions that aren't either in the real code (my code) or in the "fictional" dissasemblied code. If I run unconditionaly the code again, it works as it should, until I break it again.
Any ideas?
Moved here by Cluricaun