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.
Not really, especially if you double space or use comments....when they say a table can't cross the 256 boundry, does that mean the 256th line in the program?
Yes, it means that there are blocks of bytes, 256 bytes in size, starting at address 0000.... Each table must be contained within a single 256 byte block. This is because when you do math on PCL, only the lower 8bits of the program counter are effected.and would that be the same as the address 256 in the program counter.
movlw 0x01
movwf PCLATH
movlw 0x23
movwf PCL
movlw high(table)
movwf PCLATH
movwf low(table)
addwf Pointer,W
btfsc STATUS,C
incf PCLATH,F
movwf PCL
table retlw 00
movlw 0x08
movwf PCLATH
goto 0x076