AnsweredAssumed Answered

floating point in HC908QY4

Question asked by Damian Desiderioscioli on Jan 30, 2013
Latest reply on Feb 1, 2013 by Damian Desiderioscioli

Hi everythere... I'm using a QY4 to make a voltage/current mesurement, all the code is compiled in codewarrior 6.3 and made in C. The problem is when I multiply and divide to get the result in a floating point variable to show it in a LCD the program stops in the library RTSHC08.C in the sub-rutine _FMUL_Common instruction JSR _UNPACK_k_to_K; and the compiler sends this error:

Error: Attempt to push or pop with SP out of allowed range

 

Any idea??

 

Sorry for my bad english. I read better than I write. jeje

 

Thanks

Damian

 

Outcomes