> >> Actually, for a signed 16-bit number, the maximum positive value is 7FFF or >> 32767. The maximum negative value is FFFF or -32768. > >Actually, 0xFFFF is -1. -32768 is 0x8000. > >Orin. > Yes, Orin, you are correct. I'm an idiot...forgot my basic 2s-compliment shtuff :) ----- Mike