> bsf shadow,0 > bcf INTCON,GIE > movfw shadow > movwf PORTx > bsf INTCON,GIE > > The interrupt latency will increase at most by 3 TCy. True, but that sequence works only if interrupts were disabled at the start. -- Wouter van Ooijen -- ------------------------------------------- Van Ooijen Technische Informatica: www.voti.nl consultancy, development, PICmicro products docent Hogeschool van Utrecht: www.voti.nl/hvu -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist