This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Indirect addressing

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

0