> > I need to compare 4 numbers stored in Number1, Number2, Number3, and > > Number4. The result will be stored in the RESULT memory. > > > > I need to find out which one is the biggest, big, small, and smallest. In addition to Bob's questions: What are you referring to when you say "the RESULT memory"? Are you just trying to determine order based on absolute value or do you need signed numbers? Where are you getting the numbers from? Can you place them in the proper order when they are initially read or are you trying to do it after all 4 numbers are obtained? It would make things simpler if you could do it at time-of-read. --Andrew _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads