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
Bookmarks