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 am using 89s52 microcontroller. While debugging the followin part of program is not simulated.
MOV R0,#80H MOV 80H,#55H MOV A,@R0
Here I expect that the data 55h will be loaded in the Accumulator. to load the data in 80h I am using following sequence. E C 80h = 55h. In memory window I can see that 55h is loaded in 80h. But while debugging it does not load in Accumulator. Please advice. Regards Sandeep agashe
"MOV 80H,#55H"
80H is P0 (an SFR). Writing directly to that address accesses the SFR, not memory.