??? 05/18/12 10:27 Read: times |
#187412 - can we start from ZERO........ Responding to: ???'s previous message |
Sorry per,i am asking you very basic qus.
i know little bit, Erik gave me this Answer, Text = code sometimes Data = constants sometimes BSS = global and static variables sometimes Stack = local variables usually, not C51 Heap = dynamic memory usually i also know this types of memory organization, i have a microcontroller in that 8K ROM, 1K RAM........ can you tell me where it will be text,data,BSS,Stake,Heap.... As per my knowledge text will be in CODE(ROM) memory Data,BSS,Stake,Heap wiii be in RAM memory what is difference between data & BSS? int Ishort; at BSS Ishort = 0xAA; at data memory location same is same for both? Am i right? |
Topic | Author | Date |
Memory Organization | 01/01/70 00:00 | |
Tried any good C book lately? | 01/01/70 00:00 | |
I am using Dennis Ritchie_ANCI C | 01/01/70 00:00 | |
Variables don't move just because you assign to them | 01/01/70 00:00 | |
can we start from ZERO........ | 01/01/70 00:00 | |
Have you read my original post? | 01/01/70 00:00 | |
mixing stuff | 01/01/70 00:00 | |
where it will be for MCU? | 01/01/70 00:00 | |
is there any book for this fundamental things? | 01/01/70 00:00 | |
and .... | 01/01/70 00:00 | |
In this a general or Specific Question | 01/01/70 00:00 | |
its General Que ???? | 01/01/70 00:00 | |
Separate "the C view of program" from "microcontroller view" | 01/01/70 00:00 | |
NO! | 01/01/70 00:00 | |
why not?? | 01/01/70 00:00 | |
No - generic isn't meaningful | 01/01/70 00:00 | |
Interview questions can be asked out of limited knowledge | 01/01/70 00:00 | |
Seldom "one" answer other than to trivial questions | 01/01/70 00:00 | |
In Addition | 01/01/70 00:00 | |
Embedded? | 01/01/70 00:00 | |
sometimes, usually | 01/01/70 00:00 |