[quote user="Andy Kay"]Why doesn't get CCS the correct address of the initialized static variable?[/quote]Is initialized static variable declared at global scope, or inside a function?
[quote user="Andy Kay"]What am I doing wrong, or is this a bug in CCS?[/quote]I reported what may be the same problem in CCS 5.5 debugger shows incorrect address for C++ class given static storage allocation in main - in that case with a C++ program the problem was with the debug information generated by the compiler rather than in CCS. Which version of the compiler are you using?