Posted on May 17, 2011 at 15:06Dear EtaPhi, First of all I would like to thank you for your reply, But Average_Zero_Cross_Time is only an 8-bit quantity and the result of multiplication would be in the 16-bit index register X. Regards..
Posted on May 17, 2011 at 15:06I'm using the STM8s for my application on motor control and here is the code I am confused about. ld A,_Average_Zero_Cross_Time ld XL,A ld A,_tmp_u8 mul X,A ldw _tmp_u16,X ld A,_Average_Zero_Cross_Time + 1 ld XL...
Posted on May 17, 2011 at 15:03Its not .exe. It is Zipped file containing .h .c and workspace files. If you want to know more about the library look http://www.st.com/stonline/products/literature/um/15773.pdfregards.
Posted on May 17, 2011 at 15:03The library you're looking for is found at http://www.st.com/stonline/products/support/micro/files/stm8mcfwlib.zipregards..