scorrpeio
Full Member level 5
![Full Member level 5](/styles/images/ranks/flevel2.gif)
In assembly language,
we write ORG 0x100 which indicates starting address of program to be executed
In C, we write main() {... }
Where does microcontroller start executing this prog? I guess linker will provide starting address for code in C, but even linker file didnt have any specified address for main()?
Please let me know, when we write a code in C and prog it in microcontroller memory, how the memory addresses are managed?
Any link, article, book will do to me.
we write ORG 0x100 which indicates starting address of program to be executed
In C, we write main() {... }
Where does microcontroller start executing this prog? I guess linker will provide starting address for code in C, but even linker file didnt have any specified address for main()?
Please let me know, when we write a code in C and prog it in microcontroller memory, how the memory addresses are managed?
Any link, article, book will do to me.