Hey all I would like to test 4 bits on Portb (which are set to input) and = compare them with preset values for instance i would like to test RB0,1,2,3 agains 0000 and if its 0000 then goto = xxxx if not check if RBxxx is 0001 then goto zzz In short .. i would like to check these bits almost simultaniously where = for example=20 and the 4 bits are RB0,1,2,3 0000 =3D goto a=20 0001 =3D goto b 0010 =3D goto c=20 .... can this be done ?=20 best regards lasse madsen -- 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