> > bsf temp,intedg,w > > xorwf option_reg > [snip] > > Since when did BSF accept a third parameter? How about this: > > MOVLW (1 << INTEDG) > XORWF OPTION_REG, F Yes, that's what I intended What I should have written was bsf temp,intedg movfw temp xorwf option_reg I was elbow-deep and focussing on disassembling a delicate gearbox -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist