Hiya, The addition/subtraction routines handle and produce two's complement numbers as a matter of course. The multiplication routines should not have any problems with negatives. Dividing a negative by a negative - no the 16 bit division routine presented on my page will not do that. It's a pretty scary proposition. What I usually do is convert dividend and divisor to positive values and then when I have the positive results, I convert them to negative. myke ----- Original Message ----- From: Lorick To: Sent: Monday, February 07, 2000 9:51 PM Subject: 16 bit PIC math question on subtracting > I have been looking at the 16 bit math routines at > http://www.myke.com/PICMicro/16bit.htm and I was wondering if > someone can tell me by looking at the subtraction routine(s) there, if they > handle negative numbers. I am going to need to do things where I am ending > up with a final result that is a positive number, maybe dividing a negative > by a negative, but I want to know if these routines will do negative numbers > for my intermediate steps. If now, how can I? >