Does the MOVF instruction behave the same way, meaning that MOVF copies the contents of f to the location d? So that the contents of f are the same before and after the execution of the command. =20 MOVF f,d Charles K Roberts II ORNL-SNS Project -----Original Message----- From: Roberts II, Charles K.=20 Sent: Wednesday, September 24, 2003 4:44 PM To: PICLIST@MITVMA.MIT.EDU Subject: [PIC:] Really Basic Question This is my first time writing code for a PIC. My question is in the following snip of code will the value of the W register change? I know this is really basic and something I should know, I apologize for wasting your time in advance. MOVF RCREG,W ;moves RCREG into W MOVWF INDF ;copies W into INDF MOVWF Temp ;Will the value of W that is put into=20 ;Temp be the same as INDF=20 Charles K Roberts II ORNL-SNS Project -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads -- http://www.piclist.com hint: PICList Posts must start with ONE topic: [PIC]:,[SX]:,[AVR]: ->uP ONLY! [EE]:,[OT]: ->Other [BUY]:,[AD]: ->Ads