|
|
>> Interesting. I thought (in C) all variables exist on the machine stack?
>
> Dunno. Often, the static variables (i.e., those with a lifetime that
> matches the process) are allocated, well, statically. Whether it's part
> of the stack that never gets popped or not isn't too relevant.
When it comes to watching the CPU twiddle individual bits, *everything*
becomes relevant. (That's why it's such an inefficient way to debug
things...)
> Anyway, so? The machine stack is in memory-mapped memory too, yes?
Usually. ;-) (I understand there are designs where it isn't. Not that it
matters too much...)
Post a reply to this message
|
|