Post Reply 
[WP 34S] Stack handling in advanced funstions
03-02-2015, 05:33 PM
Post: #2
RE: [WP 34S] Stack handling in advanced funstions
(02-27-2015 05:29 PM)walter b Wrote:  this is to fulfill Geralds request here for a new thread about that topic. Though I don't know how far Bit went in between yet.

It's something I'd like to look into but I haven't had the time to deal with calculator related things in the past few days.

The tricky part is getting error handling right without greatly increasing code size or RAM usage. We may have to use a special stack frame so the routine that unwinds the return stack (retstk_up()) will know when to restore the register stack and mode settings. I'd also like to fix stuff like higher order functions breaking badly when the user function does something cheeky like switching in or out of double precision mode.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: [WP 34S] Stack handling in advanced funstions - Bit - 03-02-2015 05:33 PM



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