=20 > That's why I thought it odd that Microchip clear both (effectively the=20 > same) in their example. It wouldn't be the first time their examples=20 > were not the best. In some datasheets this is the initialisation example and commenting eg 18F1x20 CLRF PORTA ; Initialize PORTA by clearing output data latches CLRF LATA ; Alternate method to clear output data latches MOVLW 0x7F ; Configure A/D MOVWF ADCON1 ; for digital inputs MOVLW 0XD0 ; Value used to initialize data direction MOVWF TRISA ; Set RA<3:0> as outputs, RA<7:4> as inputs Some comments have not been included in the 16F1934 code Joe * * ********** Quality PIC programmers http://www.embedinc.com/products/index.htm --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .