[A83] Re: returning to OS in call routines


[Prev][Next][Index][Thread]

[A83] Re: returning to OS in call routines



yeah but thats only for apps.

brandon sterner

----- Original Message ----- 
From: "Matthew W Marshall" <matthewwmarshall@juno.com>
To: <assembly-83@lists.ticalc.org>
Sent: Thursday, August 07, 2003 9:13 PM
Subject: [A83] Re: returning to OS in call routines


> Speaking of exiting a program, does JForceCmdNoChar make sure that sp is
> what it was when the app was started?  ... or is that left up to me?
> 
> MWM
> 
> 
> On Thu, 07 Aug 2003 18:13:25 -0400 brandon sterner <bms9019@rit.edu>
> writes:
> > 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
> > >
> > >
> > >
> > 
> > 
> > 
> > 
> 
> ________________________________________________________________
> The best thing to hit the internet in years - Juno SpeedBand!
> Surf the web up to FIVE TIMES FASTER!
> Only $14.95/ month - visit www.juno.com to sign up today!
> 
> 



Follow-Ups: References: