8 years, 2 months ago.

Program Execution

What are the lines in the code except the preprocessor directives that the compiler executes before main function ?

1 Answer

8 years, 2 months ago.

There is a whole load of platform specific initialization code, some of it in assembler. Exactly what the lines are will depend on the platform but generally it'll be clock initialization and setting up mode and power saving registers for various peripherals.

It's all in the mbed-dev library.

Accepted Answer

:-)

posted by Mike G 10 Mar 2016