Hi all,

I am working to find an implementation strategy(in C for some application) for an embedded system with 24KB RAM.

I am trying to understand how the execution of code written in C is dependent on the size of RAM.

I understand that the whole source code will not reside in RAM.
Only part of data which the processor needs immediately will be loaded into RAM.

Which parts of the code actually reside in RAM?

or How much RAM is needed for a source code to execute?

In what way can I keep the contraint of 24KB RAM in mind, while I write my program in C?

Can you please tell how I should think about this?
I am actually confused.

Hope someone can make my mind clear about this.

Thank you