D
David White
GB said:E. Robert Tisdale said:Evidently, my program stack grows "upward"
According to your output, your stack grows downward (i.e., decreasing
addresses), not upward. The (virtual) addresses you printed are
decreasing with increased level of nesting (1 being the deepest
nesting).
from the "bottom" of [virtual] memory (0xffffffff)
toward the "top" of [virtual] memory (0x00000000).
In what sense would 0xffffffff be the "bottom" of a presumably 32-bit
virtual memory space?
Well, if you print out a block of memory from address zero it is likely that
the addresses will increase from the top of the page to the bottom, which
makes address zero the "top". However, I thought the convention was to call
zero the bottom and 0xffff.... the top.
DW