I'm trying to divide a long variable by 256, so I tried to shift 8 bits right (>>8), but it looks like its also shifting the MSB as well which is messing up the sign.
Should PBPL be able to handle shifting signed longs without messing up the sign?
For example:
if longvar has the value of -256, shifting it 8 times right should result in -1, instead I get 16,777,215