When bss and data segments are initialized in memory by startup code whether before calling reset handler or after calling reset handler? In stm32f103c6 startup code I am unable to find initialization of data, text and bss segments initialization can anyone help me to understand this concept.
the reset handler is called direct by hardware at reset - no code runs before that.
Samarth shetty said: I am unable to find initialization of data, text and bss segments initialization
That would be in the compiler's startup code - Keil is not open-source, so you won't see that.
Thank youAndy Neil