>I can move data from w to f register > >but how do I move f back to w register You should read through the documentation for MPLAB or MPASM. They detail the instruction set for PIC assembly. Also, the datasheets for most of the PICs available have instruction set summaries at the end. But for now, you can use "MOVF Register_To_Move, W" or if you're using MPASM, you can also use the mnemonic "MOVFW Register_To_Move". --Andrew _________________________________________________________________ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics