9.4.2 Computed GOTO
A computed
GOTO
is accomplished by adding an offset to the Program Counter
(ADDWF PCL
). When performing a table read using a computed
GOTO
method, care has to be exercised if the table location crosses
a PCL memory boundary (each 256-byte block). Refer to the following Microchip
application note, available at the corporate website (www.microchip.com):- AN556, “Implementing a Table Read”