Post Reply 
My 1st HP-41 program. Suggestions?
10-20-2023, 10:05 PM
Post: #12
RE: My 1st HP-41 program. Suggestions?
(10-20-2023 12:37 PM)Jeff_Birt Wrote:  The reuse of LBL 01 is clever. I am not certain how the calculator parses a program. Given that this trick works though it must parse form the top and the first instance of LBL 01 is acted on. It leads me to wonder if the program is parsed top to bottom each time a local label is used or if the first time a label is encounter its address is stored somewhere and accessed by index. More reading to do.

The calculator scans the source code, searching for the given local label, from the position of the program counter (containing a GTO ou EXQ instruction) down to the first occurrence of the label.

Thibault - not collector but in love with the few HP models I own - Also musician : http://walruspark.co
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: My 1st HP-41 program. Suggestions? - pinkman - 10-20-2023 10:05 PM



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