Hi, In an older version of my software, I use a specific SFR (CNTRL_REG) mapped on 0xC5 SFr address. In the new version, I need to map it at 0xC1. I thought it was very easy just by changing the definition line from
sfr CNTRL_REG = 0xC5
sfr CNTRL_REG = 0xC1
See the thread "how to compile c file that includes asm routines" http://www.keil.com/forum/msgpage.asp?MsgID=1003