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.
Is there any method to point register address?
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: