[A83] Re: returning to OS in call routines
[Prev][Next][Index][Thread]
[A83] Re: returning to OS in call routines
Another idea which hasn't been mentioned so far would be to structure you
programs better such that when you do a return from all the subroutines much
like you would need to do in c. This better structuring would help prevent
but not guarantee against stack overflows.
brandon sterner
----- Original Message -----
From: "Tobias" <supermobbe@yahoo.de>
To: <assembly-83@lists.ticalc.org>
Sent: Thursday, August 07, 2003 4:49 PM
Subject: [A83] returning to OS in call routines
> i write often call routines and also call routines in call routines. In
one
> of these routines i want to check if the "clear-button" is pressed and if
so
> then program should exit. And for this you usually use "ret" but this
would
> exit the routine?! So how to return to OS from a routine? Impossible?
> Thanks
>
>
>
References: