I am not sure what you mean here. Are you talking about the debugger display, or how the compiler generates code? And what hardware target and Codewarrior version are you using?
---Tom
My problem is that I have the same code running on Visual studio and it's fine. The same code running on CW doesn't have the good result. I tryed to debug step by step to compare but on CW I can't see some variables. In the debug window I have the wrong address for some variables (two different variables have the same address and nothing inside).
It sounds like you need to turn off all of the compiler optimizations in CodeWarrior. The optimizer will make statements and variables move about or disappear.
---Tom
Please provide more details, for example which architecture you are using.
I want to avoid to give a tip for a coldfire compiler switch when in the end you are using a S08
(or something else).
Daniel
See:
http://forums.freescale.com/freescale/board/message?board.id=CWCOMM&message.id=3819