Guys; Is there an easy way of doing the following?? (16F877) Movlw (variable 0-7) Bsf register,W Or Btfsc register,W Specifically for addressing various pins depending on the result of a test Steve -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist