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 application note AN556,
“Implementing a Table Read”
(DS00556).