[A83] Re: "forget" ret with calls ?


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

[A83] Re: "forget" ret with calls ?




> Van: Thomas Lutz <tlutz@stevens-tech.edu>
> 
> Would it be bad to put it at the end of your program? I usually put all
> the variables and stuff I need stored at the end....is this bad?

Not really, it depends on what you program for.

For 'normal' assembly programs (Ion, etc.) you can also you use this
system:

	ld	(teacherkey+1),sp
	[..]
teacherkey:
	ld	sp,$0000
	ret

But that won't work with Ti83 send9( and Ti83+ Flash programs

	Henk Poley <><