Thanks to all of you who had so much fun answering my previous stupid newbie question about bit masks. Now, I am faced with another such question that is undoubtedly "newbie" as well. Does anyone have efficient code that will simply COMPARE two 16-bit SIGNED integers without too much temporary register usage? Is there anywhere I can look for the answers to these kinds of questions so that I don't have to waste precious LISTSERV bandwidth? There must be some kind of compendium of all of these bit banging tricks and routine math operations somewhere. -- ------------------------------------------------------ /\ Frank Dalton (fdalton@pineinst.com) //\\ Pine Instrument Company ///\\\ 101 Industrial Drive ////\\\\ Grove City, PA 16127 || (412) 458-6391 || www.pineinst.com ------------------------------------------------------