> 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? That's fine. Watch your bank select bits, though. They call it "move", but it is indeed copy. It does not delete the value from w. If it were to delete it, what would it put there? The mov instruction is common to pretty much every assembly language I'm familiar with. It indeed copies the contents of one location to another (or in the case of movlw, copies the literal into w). Harold -- FCC Rules Updated Daily at http://www.hallikainen.com - Advertising opportunities available! -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist