>> BANKSEL TRISD >> movlw 0x00 >> movwf PORTA >> movwf PORTB >> movwf PORTC >> movwf PORTD > On a 14 bit PIC it will set the TRIS registers, but it on first glance it > appears to set the PORT registers The BANKSEL will be ignored, resulting in simply clearing all the input buffers clrf porta clrf portb clrf portc clrf portd To make all pins output, which is what I think David intended to do, clrf trisa clrf trisb clrf trisc clrf trisd Joe * * ********** Quality PIC programmers http://www.embedinc.com/products/index.htm=20 --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .