Movf puts the data in f either into the same f or into w. The assembler is taking the least significant bit of the value f2 to make either w or f the destination. If you look in the .inc file for the processor you will see that it defines f and w as 1 and 0. /\/\/\/*=Martin ----- Original Message ----- From: "WEBB,TIM (A-Sonoma,ex1)" To: Sent: Wednesday, December 19, 2001 2:57 PM Subject: [PIC]: Moving from f to f register > So I can: > > movwf f move w to f > movf f, w move f to w > > But can I: > > movf f1, f2 move f1, f2 > > MPLAB says: Warning[202] Argument out of range. Least significant bits > used. > > Or do I have to: > > movf f1, w move f1 to w > movwf f2 move w to f2 > > No warnings here.... > > -- > 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