Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
incf Counter,F
incf FSR,F
movfw INDF
movwf W_TEMP
movfw Counter
addlw 0x4F
movwf FSR
movfw W_TEMP
movwf INDF
#define source 0x20
#define target 0x50
movlw 4 ; # of bytes to copy |00
copy
movwf count ; save byte count |00
addlw source-1 ; add source address minus one |00
movwf FSR ; prep for indirect access |00
movf INDF,W ; read source[count-1] |00
movwf temp ; save temporarily |00
movlw target-source ; buffer offset |00
addwf FSR,F ; prep for indirect access |00
movf temp,W ; get the source[count-1] byte |00
movwf INDF ; copy to target[count-1] |00
decfsz count,W ; last byte? yes, skip, else |00
goto copy ; branch (copy another byte) |00