Post Reply 
Making a chart of GSB/XEQ/GTO/LBL/RTN functionality and quirks
06-03-2020, 10:46 PM
Post: #8
RE: Making a chart of GSB/XEQ/GTO/LBL/RTN functionality and quirks
(06-03-2020 05:06 PM)Nihotte(lma) Wrote:  I think of something else that i had have to use in step by step program run. For the Special Notes.

Does the calculator keep the stack of return call from GSB when you watch (or finally, when you need to reposition the next step to execute) inside the program before resuming the execution.

I think of a sequence like SST, SST... in RUN mode, and then g P/R, followed by SST, ... BST to watch the code, and finally g P/R coming back in RUN mode and SST etc... to resume execution.
On my HP15C, the context of execution is kept, but it's not the same way for others of my calculators (TI, ...).

I think it varies between HPs, too. I know at least one of the manuals I was looking at while making this specifically stated that repositioning the program pointer manually (GTO or XEQ/GSB from the keyboard, or SST/BST in program mode) would clear the RTN stack. I hadn't thought to check if any vary subtly in that behavior.
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Making a chart of GSB/XEQ/GTO/LBL/RTN functionality and quirks - Dave Britten - 06-03-2020 10:46 PM



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