Dear Sir, I am using C51 version 5.5,i am not able to read & write continous memory locations what i did using A51 code as below. mov a,#55h mov r0,#20h do: mov a,#55h mov @r0,a inc r0 mov a,r0 cjne a,#80h,do sjmp $ Help me on the above.
What's the value of P2 during this loop? Why do you ask, it is MOV, not MOVX Erik
Good point. I was paying too much attention to the "@r0", and not enough to the actual instruction!