We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I have two simple code examples: ; Example 1 ORG 0 MOV A,#0xff MOV P0,A TOP: MOV P1,P0 SJMP TOP END ---------------------- ; Example 2 ORG 0 TOP: MOV A,#0xff MOV P0,A MOV P1,P0 SJMP TOP END ---------------------- Both examples attempt to do the same thing. When clicking on pins of P0 the value is sent to P1. When I single step (F11) through the programs the perform in an identical manner. When I run the programs (F5), example 2 ends up with a mismatch between P0 pins and P1 values. What could cause such a mismatch?
I'm following the same steps as you are yet I still can get a mismatch. I did, however, just notice something interesting... the mismatch appears to be with the displayed pins check boxes and not with the pins value. For example, all the P0 pins are checked but the value indicates 0xBF and P1 has a value of 0xBF with the bit D6 cleared. I grabbed a screen shot of this but I'm not sure how to post it.