Opps.. I am sorry i should have given more details I am looking got coding to do 16bit compare so will need to do things like >,<,<>,=,>=,<= all this The coding that i have are rather short but if i have to have all ths condition it is very lengthy and seem that most of the coding are repeating themselves, so i am asking around if there is any one to all solution around. cant produce good code with my small brain hahaha Thanks anyway PSL ----- Original Message ----- From: "Jan-Erik Soderholm XA (TN/PAC)" To: Sent: Friday, January 09, 2004 12:50 AM Subject: Re: [PIC]: Conditional branching > PSL wrote : > > Hi all > > any one got any good conditional branching Pic code to share > > Most of the coding i see compare magnitude > > how to do it when i have a signed number? > > > > Please advice > > Give a few examples of values and describe what you'd > like to happen, and we'll see... > > Do you have to have a signed number ? > > (Even a simple "btfss" is a (kind of) "conditional branching"...) > > Jan-Erik. > > -- > http://www.piclist.com hint: The list server can filter out subtopics > (like ads or off topics) for you. See http://www.piclist.com/#topics -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics