Ok,
I’m new to this list, but I have an idea.
Instead
of ‘call’ing, you could ‘jp’ or ‘jr’ to
the function which would ‘ret’ back to the OS rather than the
calling function. Then ‘jp’ back to the
calling function if you don’t have to
return. I know this isn’t
practical, but it’s the only way I know how.
Hope
this helps,
t.wiser
------------------------------
From:
"Tobias" <supermobbe@yahoo.de>
Subject:
[A83] returning to OS in call routines
Date:
Thu,
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
------------------------------