Hello everyone, I am reading two 16 bit 2's comp numbers from an A2D. I know one will be greater than the other. My question is how do I compare them? If someone could give me an outline of the way this is done, I will have a go at writting the code, if someone knows of any code that is 'out there' could they let me know. No point reinventing the wheel! Thanks Graham North _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. -- http://www.piclist.com hint: The PICList is archived three different ways. See http://www.piclist.com/#archives for details.