I have information from a barcode scanned into my ST file location. It is first dumped into ST12:0 and then extracted to different locations up to ST12:15.
Upon reset (input from a switch), I would like to either erase the info from those locations or fill them all with zeros.
I am doing this with N locations in the same program by using FLL #N7:20 with a length of 10. That fills N7:20-N7:29 with zeros.
When I tried this with the ST file I got an error. I was using:
FLL
Source 0
Dest #ST12:0
Length 10
I got errors of:
Operand sizes do not match
Invalid Constand value-valid range = 1-3
Exceeded limit of 128 total words
Anybody have any ideas on what I need to change to get this to work, or any other ways of eliminating the data present or filling with zeros in the ST locations?
Thanks.