hp41cx named variables in extended memory
|
02-28-2020, 02:37 PM
(This post was last modified: 02-28-2020 05:35 PM by Artur - Brasil.)
Post: #10
|
|||
|
|||
RE: hp41cx named variables in extended memory
As seen above, the code gets bigger as number of registers to store/restore increases.
For 19 registers, the program gets 180 lines, 499 bytes. Another infortune was routines for storing beeing bigger than for recalling, leading to the number of recalling storing around LBL 01 being different of recalling. So, I put my head to work: using FLAG 10 could prevent creating routines for working with registers from 10 to 19. But... you will need to set flag 10 before storing or restoring from 10 .. 19. Example: SF 10 XEQ "R4" will restore the value of register 14 instead of 4. This solution will save a lot of bytes, but is limited to register 19 (9 + 10) and requires user remembers of including SF 10 instruction before XEQ "Rnn" Best wishes Artur ARTUR MARIO JUNIOR BRAZIL |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 3 Guest(s)