Re: A83:'ret'


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

Re: A83:'ret'



B_JUMPing to JForceCmdNoChar from an assembly program (as opposed to an app) is a "bad idea", and I would not suggest it.  If, for whatever reason, you want to be able to quit regardless of the stack, I'd suggest doing what Mr. Weiss suggested and save the value of SP.  (If you're using MirageOS, it has a built in function to do this; just call quittoshell).
 
-Dan Englender
 
----- Original Message -----
From: Robby Proie
To: assembly-83@lists.ticalc.org
Sent: Monday, January 29, 2001 6:11 PM
Subject: RE: A83:'ret'

For every push there should be a pop.  Otherwise, try this for the 83+  
 
B_JUMP JForceCmdNoChar 
 
I don't think that it is affected by the stack, and it should work in an ion prog on the 83+ and maybe the 83:)
-----Original Message-----
From: owner-assembly-83@lists.ticalc.org [mailto:owner-assembly-83@lists.ticalc.org]On Behalf Of Jan (belgacom)
Sent: Monday, January 29, 2001 2:58 PM
To: TI-83 assembly-83
Subject: A83:'ret'

If you use al lot of 'push' and 'pop' during a program, your calculator can easily crash when trying to exit the program with the usual 'ret'(i'm writing for ION btw, but i don't think that has an influence) 

Is there a way of avoiding crashes or do you just have count how many times you pushed a register and then pop it as many times? (and that's not so easy! So i hope there is another way...)

 

Greats, Vladimir

 


Follow-Ups: References: