SpinAsm IDE issue with decimal numbers

jrrossi

New member
Hey folks, this is my first post here and I'm a noob when it comes to FV-1 development.

I'm having a weird issue with SpinAsm IDE, which I couldn't find any info around.
Basically, whenever I use decimal numbers (eg: 0.123) the code simply does not work on the FV-1.
My current solution is to use rational numbers (eg: 2/3), which can be very inconvenient.
Has anyone ran into this issue as well? I'm on Windows 11 and tried older versions of SpinAsm and also running with Window 7 compatibility mode, but nothing seems to solve the issue.

Cheers!
 
Just as an example of what's happening, if I compile this code:
Code:
equ coeff 1.2
rdax adcl,coeff
wrax dacl,1.0
wrax dacr,0.0

This is what I get:
1739825176491.png

It's like anything after the decimal dot gets ignored.
 
This is quite classic localization bug, don't know why it didn't think about this.

They are probably using localized string parsing functions, so I don't think it has to do with how old the software is.
 
Back
Top