Spin Semiconductor Forum Index Spin Semiconductor
Support forum
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

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

 
Post new topic   Reply to topic    Spin Semiconductor Forum Index -> FV-1 software questions
View previous topic :: View next topic  
Author Message
igorp



Joined: 19 May 2015
Posts: 21
Location: RU

PostPosted: Tue Feb 13, 2018 9:05 am    Post subject: 2+2*2 = 8? spinasm compiler calculations are Reply with quote

sequental in line.
Why?

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

Code:
   rda   delay + 0179/KK , 0.8   


is working incorrectly
Back to top
View user's profile Send private message
frank



Joined: 19 Oct 2005
Posts: 988

PostPosted: Thu Feb 15, 2018 3:09 pm    Post subject: Reply with quote

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.
_________________
Frank Thomson
Experimental Noize
Back to top
View user's profile Send private message Visit poster's website
igorp



Joined: 19 May 2015
Posts: 21
Location: RU

PostPosted: Mon Feb 19, 2018 3:29 am    Post subject: Reply with quote

Oh, thank you
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Spin Semiconductor Forum Index -> FV-1 software questions All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group