Hello, Is there a better to test for a certain character than what is shown below? movf chrin,w sublw '+' btfsc status, zero goto isplus goto notplus Where chrin is the input data, status is the status register, zeor is the zero flag bin in the status register and the goto instructions are the locations for the handlers. The notplus can be replaced by the habdler code. chrin comes from an RS232 input. Comments (good and bad) will be appreciated. Regards to all, Royce -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body