Hi,
You're quite right Richard!
It works provided that x in this case IS declared as a byte (which it was in your code of course)
Code:
x = Reading >> 4
HSEROUT["Reading: ", SDEC Reading, "   X: ", SDEC x,10,13]
Code:
Reading: -2048   X: -128
Reading: 2047   X: 127
Reading: -100   X: -7
Reading: 100   X: 6
If x is declared as a WORD then it fails:
Code:
Reading: -2048   X: 3968
Reading: 2047   X: 127
Reading: -100   X: 4089
Reading: 100   X: 6
/Henrik.