Darrel, Ingvar,

I hope you do not mind dusting off this OLD thread.

Quote by Ingvar... "I bet you know that but some people find it difficult to get their head around this."

Boy was he right... Very interesting but difficult to follow for a newbie.


I am also trying to convert knots and fractional knots to mph.h

Darrel could you please explain/elaborate on the code from your last post...

@Knots = _ssmax + 17
Knots VAR WORD ext

Dec_speed = Knots * 9881
Dec_speed = R0 + R2.15 + Knots


I thought that "@" usually proceeds "one line of assembly code"

As I read through this thread, I was not able to follow with much clarity.

In my gps program I end up with two variables containing integer knots and decimal knots.

If we assume the variables used are knots (whole knots) and knotsten (fractional knots) how would I apply your final code to provide mph.h?

Thanks much
Dwight