Use: MOVF somereg,W Notice that this can also be: MOVF somereg,F Which puts somereg back in somereg. Why would you do that? To set the condition flags. So, one way to test if loopct is 0 would be: MOVF loopct,F BTFSC status,Z ; skip if not zero GOTO itwaszero Al Williams AWC * Floating point A/D http://www.al-williams.com/awce/pak9.htm > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of WEBB,TIM (A-Sonoma,ex1) > Sent: Wednesday, December 19, 2001 11:06 AM > To: PICLIST@MITVMA.MIT.EDU > Subject: [PIC]: Moving from f to w register > > > I am new at this PIC stuff > > I can move data from w to f register > > but how do I move f back to w register > > -- > 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 -- 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