akg
New Member
hello
i was tring simulate some code in the new mplab,but i was stuck in a probelm
when simulating this it went as normal..
but after having a memory and processor reset .. , when steppinf tru the code from beginig. instead of jumping to the "start" , after goto start , the simulator went directly into the org 4 and movwf w_temp , and stepped tru the retfie and on to the start.. . Once this behaviour starts it continues like that, and i feel it occures at random times.only way to resume the normal behaviour is to restart mplab..
y this is caused , am i missing something ??
thanks in advance
Akg
i was tring simulate some code in the new mplab,but i was stuck in a probelm
Code:
org 0
goto start
org 4
movwf w_temp
...
...
retfie
start
bsf INTCON,GIE
..
..
..
when simulating this it went as normal..
but after having a memory and processor reset .. , when steppinf tru the code from beginig. instead of jumping to the "start" , after goto start , the simulator went directly into the org 4 and movwf w_temp , and stepped tru the retfie and on to the start.. . Once this behaviour starts it continues like that, and i feel it occures at random times.only way to resume the normal behaviour is to restart mplab..
y this is caused , am i missing something ??
thanks in advance
Akg