How the Compiler works for microcontroller

Status
Not open for further replies.

allen_poper

Newbie level 3
Joined
Mar 6, 2014
Messages
3
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
23
Sorry for asking a basic question. But this might not know by every one. I want know how the compiler works. I know the stages of compilation. But i don't know,

  1. How the compiler will allocate the segment(Data, heap, stack) for Microcontroller
  2. How it will optimize the code

This is may be platform/Compiler dependent. But i want to know in generic terms, which need to be consider while programming. Can any one provide a link where i can make study on that.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…