I would skip the modulus stuff, and go for the MidWord Multiplier (*/), which has an implied /256.
Code:Value VAR WORD Temp VAR WORD Value = 502 Temp = Value */ 100 LCDOUT DEC Temp/100,".",DEC2 Temp," "
I would skip the modulus stuff, and go for the MidWord Multiplier (*/), which has an implied /256.
Code:Value VAR WORD Temp VAR WORD Value = 502 Temp = Value */ 100 LCDOUT DEC Temp/100,".",DEC2 Temp," "
DT
Thanks a lot. Problem solved (for now).
I'll be BACK!
___________________
WHY things get boring when they work just fine?
Bookmarks