Where is the carry bit and the z flag on an abacus situated and what is the command to test these prior to branching ??? or does this result stack underflow and premature program termination ???? -----Original Message----- From: pic microcontroller discussion list [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of Olin Lathrop Sent: 24 October 2003 19:07 To: PICLIST@MITVMA.MIT.EDU Subject: Re: [PIC]: how to compare to numbers Luis Moreira wrote: > I need to compare to numbers to see which of them is higher can someone > point me on the right direction? Most people just decide whether one number is higher than another by inspection, but I suppose you could use an abacus or something. ***************************************************************** Embed Inc, embedded system specialists in Littleton Massachusetts (978) 742-9014, http://www.embedinc.com -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads