Depends on what you mean by "clear out the number".
I presume that your barcode is going into a string file (ST) location ?
If so, then just move a zero into the first word of it. A zero is used to indicate the end of the string data, like in C: MOV 0 ST9:0.DATA[0]
Dave