I type the adrress,but it just display the data of code,but I wan't to see the data in RAM,what shall I do?
The 8051 has different memory spaces. The memory window in the uVision debugger distinguishes them with a prefix. For example, xdata addresses look like: X:0x4034 00 00 00 00 while code addresses look like: C:0x4034 FB A3 E4 75 Just type in an X: or C: in front of your address in the "Address: box and it will switch to the matching memory space.
Thanks
As well as I: for internal (possible indirect) memory.
And D: for direct addressed internal memory (= Well, just look at manual...