hi to use on chip xram of my p87c51RD+. I have made following changes in my code which are recomended here. http://www.keil.com/support/docs/1758.htm but my code stuck on this loop.
IDATALOOP: MOV @R0,A DJNZ R0,IDATALOOP
This bit of code may fail if the selected register bank is not zero. If, for example, register bank 1 is selected then when R0 is equall to 8 the instruction:
MOV @R0,A
But this code runs after Reset. Reset ensures that the register bank 0 is selected.