What is the procedure that was called before main? (see the attached image)
It is probably the startup code that executes prior to invoking main() and establishes the C run-time environment.
thank you. But why this startup code have always a different address?
If you examine the map file for the project, this will indicate where the startup code is located. If using a standart .PRM file, this will normally be near the start of the ROM segment.
The following process works with earlier versions of CW, but I am not sure about later versions. Whilst in debug mode, reset the MCU. The PC should then point to the beginning of the startup code. Single stepping of the startup code can then take place.
Retrieving data ...