> > Let's assume you're using PORTA bits 0 and 1 (and you stated no other > pins mattered). > You could use swapf and do it in two instructions (if PORTA is > initialized as shown below): > > ;Initialize PORTA with 0x21 (or 0x12). > > btfss bigreg,7 > swapf PORTA > Also, keep in mind "read-modify-write" issues. --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .