>As I am pretty new to math in PIC just to check what are the method that we can use to check whether a math operation have cause >any overflow. Check the CARRY bit in the STATUS register after the addition or subtraction. For addition, a "1" in the carry bit indicates overflow. For subtraction, a "0" in the carry bit indicates underflow. Ian Rozowsky R&D Director Centurion Systems (Pty) Ltd. Box 506 Cramerview 2060 South Africa roz**@centsys.co.za ||Anti-spam - please remove the ** from the e-mail address before sending|| http://www.centsys.co.za -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.