>Is there no bit wise operator that lets me >figure out which value of two is larger? Have a look at the macros included with Olins development environment at http://www.embedinc.com/pic/ which has a nice list of more understandable macros for comparing than the Microsoft ones. Also get the PDF file from Jan-Erik that describes the various macros in Olins file. The link to the file is in Olins pages. Do be careful though, as there is a set of macros that are used for other compares of multiple byte numbers which are not the ones you want. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist