Hi, Who initializes xxx variable?. static data UINT8 xxx=10;
Is it STARTUP.A51?.
No!
See: http://www.keil.com/support/docs/783.htm
"[Keil] strongly recommend that you do not modify the INIT.A51 file."