hp41cx named variables in extended memory
|
02-27-2020, 03:03 PM
Post: #5
|
|||
|
|||
RE: hp41cx named variables in extended memory
Yesterday at night, I realized another way to make the STO function for numeric x-registers from 10 to 19.
It is using flag 10. If you want to store in x-register 10 or above, just set flag before calling S0, S1, S2 ... S9 (I'll add 10, giving S10, S11 .. S19). This solution will save many bytes for routines from S10 ... S19. I did not analyze the impact on RCL function yet. Let's see if it will also be possible to use flag 10 too for RCL. I believe the majority of programs use less than 10 registers - so, this solution would work well. Putting the SF 10 instruction before restoring from 10 to 19 will be tedious. It's something to analyze... I'll provide both solutions and wait for community improvements. HP-41 is really a great computer system! Best wishes! Artur ARTUR MARIO JUNIOR BRAZIL |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)