Tested in the web/javascript version.
Steps:
g P/R
f LBL .0
Result:
The label 0 is created instead of the label .0
If your program uses both labels 0 and .0 it will fail.
Possible Cause:
In function decode_lbl(k), the following line:
i = Number(k) / f;
results in i=0 when k=0 regardless of f being 1 or 10.
Same problem with GTO:
The function decode_gto() has the same problem calculating x with x=0 and f=10
x /= f;
Nice simulator BTW!
Tested in the web/javascript version.
Steps:
g P/R
f LBL .0
Result:
The label 0 is created instead of the label .0
If your program uses both labels 0 and .0 it will fail.
Possible Cause:
In function decode_lbl(k), the following line:
i = Number(k) / f;
results in i=0 when k=0 regardless of f being 1 or 10.
Same problem with GTO:
The function decode_gto() has the same problem calculating x with x=0 and f=10
x /= f;
Nice simulator BTW!