Post Reply 
(Free42) GTOs - question
04-11-2018, 11:51 PM
Post: #13
RE: (Free42) GTOs - question
Local registers on the 34S caused a few issues but were worthwhile. Solve and integrate were fun -- the routine being solved can access locals from where the solve was invoked. We included some local flags as well but only allowed numeric registers (starting with a dot) rather than variables.

One I wish we had exposed to users is the xIN / xOUT pair -- these preserve the stack, set last X etc. They allow subroutines to behave like builtin commands without having to track all the stack motions or using registers to preserve unused things. xIN also allocates local flags but not registers. A combination xIN which allocated some locals would be more useful I suspect.

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


Messages In This Thread
(Free42) GTOs - question - Werner - 03-26-2018, 08:53 AM
RE: (Free42) GTOs - question - Paul Dale - 03-26-2018, 11:05 AM
RE: (Free42) GTOs - question - Werner - 03-26-2018, 11:22 AM
RE: (Free42) GTOs - question - Paul Dale - 03-26-2018, 11:49 AM
RE: (Free42) GTOs - question - Werner - 03-26-2018, 01:14 PM
RE: (Free42) GTOs - question - Werner - 03-26-2018, 01:15 PM
RE: (Free42) GTOs - question - Werner - 03-27-2018, 05:36 AM
RE: (Free42) GTOs - question - Werner - 04-11-2018, 02:04 PM
RE: (Free42) GTOs - question - Werner - 04-12-2018, 05:33 AM
RE: (Free42) GTOs - question - Paul Dale - 04-11-2018 11:51 PM



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