S Suraj143 Active Member Dec 3, 2008 #1 I need to read the data of registers from 20h to 24h without using indirect addressing.Because I'm using indirect addressing for another work. Code: cblock 20h data1,data2,data3,data,4,data5 endc movlw .1 movwf data1 movlw .2 movwf data2 movlw .3 movwf data3 movlw .4 movwf data4 movlw .5 movwf data5 Is there any method to point register address? Code: incf 20h+1 Last edited: Dec 3, 2008
I need to read the data of registers from 20h to 24h without using indirect addressing.Because I'm using indirect addressing for another work. Code: cblock 20h data1,data2,data3,data,4,data5 endc movlw .1 movwf data1 movlw .2 movwf data2 movlw .3 movwf data3 movlw .4 movwf data4 movlw .5 movwf data5 Is there any method to point register address? Code: incf 20h+1
P Pommie Well-Known Member Most Helpful Member Dec 3, 2008 #2 No, you need to use FSR to point to the indirect address. You could save FSR and restore it after wards. Mike.
No, you need to use FSR to point to the indirect address. You could save FSR and restore it after wards. Mike.