Reply by William C Bonner January 31, 20082008-01-31
I don't program with the BIOS, so what I say may be slightly off for
your implementation. The stack memory has nothing special about it. You
can access it for reading or writing just like any other ram that is
accessible to your program. Obviously writing to it can easily corrupt
your program. The DSP does not have any level of protected memory.

Last year I wrote a routine that would overwrite most of the unused
space in the stack with a known pattern and then later count how much of
the stack space still had that known pattern. It was useful in finding
out how much of the stack I was using between a set of calls. It was
dangerous in that interrupt service routines also use the stack, and so
should be used with care.

Wim.

s...@yahoo.com wrote:
> Hi 6x Experts,
>
> Can I use memcpy to read the stack content? Please help me understand more.
> Thanks in advance..
> regards,
> Shiva
>
>
Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467
Reply by shiv...@yahoo.com January 31, 20082008-01-31
Hi 6x Experts,

Can I use memcpy to read the stack content? Please help me understand more.
Thanks in advance..
regards,
Shiva
Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467