Page 1 of 1

2+2*2 = 8? spinasm compiler calculations are

Posted: Tue Feb 13, 2018 10:05 am
by igorp
sequental in line.
Why?

I spent couple of hours to find mistake why this simple code:

Code: Select all

	rda	delay + 0179/KK , 0.8	
is working incorrectly

Posted: Thu Feb 15, 2018 4:09 pm
by frank
Yup, looks like it is not handling the order of operations properly. I did not write the assembler for FV-1 so do not know how they parse the equations or solve them but it does look like a simple left to right method.

Posted: Mon Feb 19, 2018 4:29 am
by igorp
Oh, thank you