Post Reply 
My 1st HP-41 program. Suggestions?
10-20-2023, 03:16 AM
Post: #10
RE: My 1st HP-41 program. Suggestions?
(10-20-2023 02:21 AM)rprosperi Wrote:  
(10-20-2023 12:00 AM)Valentin Albillo Wrote:  ... can be replaced by this 3-line code
    LBL 01
    ISG 01
    LBL 01
Nice one Valentin! Double use of the same label is an effective NOP here, typically not the case.
At least this portion will not be further optimized... Smile

Thanks for your appreciation, Bob. Re-using LBL 01 is ideal, as it's a 1-byte instruction which here it's just a never-executed placeholder and it can't be reached from anywhere in the program, whether directly or indirectly.

And yes, this portion can't be optimized any further ... Smile

Best regards.
V.

  
All My Articles & other Materials here:  Valentin Albillo's HP Collection
 
Visit this user's website 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? - Valentin Albillo - 10-20-2023 03:16 AM



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