Describe the start-up sequence of a typical microcontroller from power-on reset to the main() function.