I am working on a project using a 16F877 and am having difficulty in=20 indirectly addressing RAM locations. I would like to send a byte of = data to RAM location 0x120, by using the following: movfw Offset ;contains the value 20h movwf FSR movfw Data1 bcf STATUS,RP0 bsf STATUS,RP1 movwf INDF YET...when simulated, Data1 is moved to 0x020. It seems that no matter which page I switch to prior to executing the = movwf INDF statement, Data1 is placed into 0x020. Can anyone help? -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu