05-22-2023, 09:26 AM
the program use 1 step for 1 digit for float numbers. that wastes a lot of memory. for example a program with 10 float numbers of 12 digits as constants can use 120 steps.
My suggestion is
1
give a program code part and data part. use "LBL data" to seperate them. append the data for the program at end of the code. use a new function "drcl" to recall the data into registers for use.
or 2
open a data part in the flash memory.
use a new function "dsto" to save data into the flash memory with the data name same to the program using the data.
put "1" into X register first. then dsto "the name of the program". save the content of r00 to the flash memory with the name of the program. put 10 into X register then dsto "the name of the program", save r00-r09 to the flash memory with name of the program.
with a new function "drcl" the program can get those data for use.
hope someone can accept my suggestion and updata the firmware of wp34s.
My suggestion is
1
give a program code part and data part. use "LBL data" to seperate them. append the data for the program at end of the code. use a new function "drcl" to recall the data into registers for use.
or 2
open a data part in the flash memory.
use a new function "dsto" to save data into the flash memory with the data name same to the program using the data.
put "1" into X register first. then dsto "the name of the program". save the content of r00 to the flash memory with the name of the program. put 10 into X register then dsto "the name of the program", save r00-r09 to the flash memory with name of the program.
with a new function "drcl" the program can get those data for use.
hope someone can accept my suggestion and updata the firmware of wp34s.