----- Original Message ----- From: "Olin Lathrop" To: Sent: Saturday, April 05, 2003 12:02 PM Subject: Re: [PIC]: Character compare and XOR'ing > > XORWF 'R', w ; Is the character R? > > BTFSS STATUS, Z > > call GORED > > XORWF ('Y'^'R'), w ; No? Is the character Y? > > BTFSS STATUS, Z > > call GOYEL > > XORWF ('G'^'Y'), w ; No? Is the character G? > > BTFSS STATUS, Z > > call GOGRN Your BTFSS STATUS,Z instructions should be BTFSC STATUS,Z Bob Ammerman RAm Systems -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body