> If I do something like: > > movlw 0x00 > > movwf TRISA > movwf TRISB > movwf TRISC > > is it correct? Or do I need to movlw before every movwf? movwf doesn't change W. clrf TRISx would work in this example too You can see what happens to registers in an editor Watch window -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist