Don't panic Sorted ! -----Original Message----- From: piclist-bounces@mit.edu [mailto:piclist-bounces@mit.edu] On Behalf Of Steve Smith Sent: 10 August 2006 10:09 To: 'Microcontroller discussion list - Public.' Subject: [PIC] bit set/ clear (n) 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 -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist