Post Reply 
[wp34s] Is it possible to call an XROM from another one?
05-13-2015, 03:03 PM (This post was last modified: 05-13-2015 03:46 PM by emece67.)
Post: #5
RE: [wp34s] Is it possible to call an XROM from another one?
Well, now I have a working inverse Gamma in XROM (not very tidy, as I also have modified the lambert_w code to place some hooks there). But I still have some doubts about xIN/xOUT workings.

I've read that executing xIN creates a "local" 8 levels stack, a "local" return stack & changes to DP. But, does it also create a set of 16 local flags? If so, will a subsequent LocR "hide" such flags? (I think the answers are {YES, NO}, but not sure.)

Suppose also that an XROM function executes xIN, then, inside such function, there's a LocR and a GSB, and this second subroutine ends with RTN. Will such RTN "free" the LocR'ed registers? (I think {NO}, they are freed by POPLR or xOUT in the calling XROM function.)

In an XROM function calling (via GSB) other subroutines, can LocR be nested? (I have no idea.)

Thanks.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [wp34s] Is it possible to call an XROM from another one? - emece67 - 05-13-2015 03:03 PM



User(s) browsing this thread: 1 Guest(s)