Re: 16 Bit integer math

2002-09-20 Thread Sean O'Rourke
On Fri, 20 Sep 2002, Clinton A. Pierce wrote: > I have a sudden need to do signed 16-bit integer math in PASM. Any > suggestions on where to begin? Does shifting everything left by 16 bits (on 32-bit platforms) to operate on, then shifting it back to the right to use, work? /s

16 Bit integer math

2002-09-20 Thread Clinton A. Pierce
I have a sudden need to do signed 16-bit integer math in PASM. Any suggestions on where to begin? I'd rather not re-invent this wheel if someone else has a better idea. And if I do, where can I find good tools for it?