> Sure, I am not crazy about the way the SUBLW and SUBWF work, You may have a legitimate complaint about SUBWF. But SUBLW does exactly the right thing: W := constant - W. If you want W := W - constant, you can use ADDLW -constant. If they had made SUBLW do W := W - constant, it just would have been a waste of opcode space. -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body