Hello! in Keil,when i write *(unsigned char*)R1=0x30; in lst file, Keil use R0. I want R0 don't change or I want Keil use R1 no R0. Can who help me?
Please read the manual:
http://www.keil.com/support/man/docs/c51/c51_le_memtypes.htm
http://www.keil.com/support/man/docs/c51/c51_le_intdatamem.htm
If you want to see how the compiler implements the various types of data access, use the SRC directive:
http://www.keil.com/support/man/docs/c51/c51_src.htm