Maverickmax
Advanced Member level 1
signed 8 bits
Hi
I am struggling to understand why negative 8 bit convert to 16 bit ? What about positive?
What is the benefit?
Hi
I am struggling to understand why negative 8 bit convert to 16 bit ? What about positive?
What is the benefit?
Code:
if (data[i]&0x0080)
data[i] += 0xFF00; // convert to negative 16-bit
else
data[i] = data[i];
end