I write a program in asm,so I just want to watch the data in internal ram (0x00 - 0xff) but I found KEIL UV3 IDE can only watch the external ram and the varible in C in simulation by memeory window and watch window! Then how can I watch the internal ram data directly in simulation under UV3 IDE?
There are several memory areas on the 8051. In the uVision Debugger, when you specify an address you must also specify a memory area. This is done using the memory type prefix. For example: X:0x0000 is address 0x0000 in XDATA D:0x00 is address 0x00 in DATA I:0x00 is address 0x00 in IDATA P:0x00 is address 0x00 in PDATA C:0x0000 is address 0x0000 in CODE/PROGRAM memory If you don't specify a prefix, you probably don't get what you want. Jon
Thank you.