I'd also like to add that in MPLAB Microchip included a macro called 'movfw' which is automatically translated to movf f, W. TTYL > -----Original Message----- > From: pic microcontroller discussion list > [mailto:PICLIST@MITVMA.MIT.EDU]On Behalf Of Milan Pavlica (YU7AEC) > Sent: Wednesday, December 19, 2001 12:13 > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [PIC]: Moving from f to w register > > > movf f,d > if destination (d=0) then destination is W register > if d=1 then destination is f itself > example: > > MOVFB FSR,0 > > After execution: > W = value of FSR register > > Best regards! > > "WEBB,TIM (A-Sonoma,ex1)" wrote: > > > 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