> I am looking for some code to do 2's comp 16 bit addition. Does anyone know > of any links please. I have searched the MC web site, and piclist.com and > found nothing. The mechanics of doing 2's compliment addition is the same as unsigned addition, is the same as fixed point addition. There is a difference in how some bits are interpreted to determine status of the arithmetic operation, like overflow. If you don't care about that, you can use excactly the same routine. ******************************************************************** Olin Lathrop, embedded systems consultant in Littleton Massachusetts (978) 742-9014, olin@embedinc.com, http://www.embedinc.com -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body