[A83] Re: Stacking
[Prev][Next][Index][Thread]
[A83] Re: Stacking
Well, I meant that if you need to be careful, since if you pop a little too
often, you end up corrupting data.
Also, I might have misinterpreted some previous posts about using the stack
pointer, and I actually added the statement to point out that I do know about
the dangers.
I admit, it might be a wrong statement.
--(Peter-Martijn)
> Hm, why isn't it recommended? Of course, appbackupscreen would be a much
> better choice since nothing would then write to that memory, but it should
> work quite nifty.
>
> -----Original Message-----
> From: assembly-83-bounce@lists.ticalc.org
> [mailto:assembly-83-bounce@lists.ticalc.org]On Behalf Of Peter-Martijn
> Kuipers
> Sent: Saturday, July 14, 2001 12:37 AM
> To: assembly-83@lists.ticalc.org
> Subject: [A83] Re: Stacking
>
>
>
> However, you could make the stack larger,
> by saving the stack pointer to a variable,
> setting the stack pointer to the end of say,
> plotsscreen, since that is 768 bytes.
> At the end of your program, you'd then have to
> reset the stack pointer to its original value.
>
> However, this is NOT recommended!
>
> --(Peter-Martijn) Kuipers
>
>
> >
> > Of course. The stack is in RAM, which is itself limited, and it is in fact
> a
> > very small portion of RAM. IIRC the space allocated to the stack is 400
> > bytes large.
> >
> > -----Original Message-----
> > From: assembly-83-bounce@lists.ticalc.org
> > [mailto:assembly-83-bounce@lists.ticalc.org]On Behalf Of Andrey Gorlin
> > Sent: Friday, July 13, 2001 6:35 PM
> > To: assembly-83@lists.ticalc.org
> > Subject: [A83] Stacking
> >
> >
> > Is there a limit to how much can be pushed on the stack?
> >
> >
> >
>
>
>
>
References: