Was working on a program to find the zero points for servos connected to the SSC-32 and found I had a problem with sdec when I specified a min and max size. It appears like the min/max does not take the - character into account when the number is negative.
So my code that looked something like:
bTemp var byte(10)
MyVal var sword
myVal = -10
bTemp = sdec5 myVal\5
bTemp[5] = 13 ; add cr...
serout s_out, i9600, [str btemp\6]
The output was: -00001
This appears to be by design:
Kurt