Jason wrote >Say if I send the group 1234 and actions happens. >But if I send the group 1479 the actions does not happen. >Can anyone give me any suggestions on how I might check this string and >determine if it is the correct one. Try sending the data as packed BCD this would only take two bytes, then subtracting the check data from it if the answer is 0 then it matches. you dont have to send as packed bcd but it will make the code twice as long example of comparison of two values:- MOVFW 1ST_BYTE SLBLW .12 ;YOUR FIRST TWO DIGITS BTFSS STATUS,Z ; CHECK THE FIRST BYTE IS THE SAME Z=1 GOTO NO_MATCH ; QUICK EXIT MOVFW 2ND_BYTE ; GET SECOND BYTE SUBLW .34 ;YOUR SECOND PAIR OF DIGITS BTFSS STATUS,Z ; CHECK SAME Z=1 GOTO NO_MATCH ; QUICK EXIT code to opperate item..... NO_MATCH ; VALUES NOT THE SAME DO SOMTHING ELSE goto begining and start again.....