[CSI] CS1B: program memory

Mikhail Nesterenko mikhail at cs.kent.edu
Thu Apr 9 14:10:15 EDT 2020


Dr. Nesterenko,
>
> I was doing some reading into program memory, and found this interesting
> diagram:
> [image: programMemory.jpg]
> you mentioned BSS a couple times in class, I found it to be "Block Started
> by Symbol".
>
> So *static variables* of fixed size get put into the *BSS* block,
>
> *local variables *and function call frames get put into the *stack*
> (variably sized), First in Last Out
>
> *Dynamic variables*, objects allocated with "new" keyword, get put into
> the *heap* (variably sized).  When needed, can call on something from
> heap using pointers to them
>
> Is this correct?
>
>
>
Very much so. Well described too. This will be discussed in detail in OS
class.

Thanks,
--
Mikhail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://listmail.cs.kent.edu/pipermail/cs13001/attachments/20200409/85524572/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: programMemory.jpg
Type: image/jpeg
Size: 28881 bytes
Desc: not available
Url : https://listmail.cs.kent.edu/pipermail/cs13001/attachments/20200409/85524572/attachment-0001.jpg 


More information about the cs13001 mailing list