AN556 - Implementing a Table Read - Application Notes - Details
  Application Notes/
Technical Brief
Application Notes
Application Notes by Release Date
Application Notes (alphabetical)
Application Notes - Source Code
SPICE Models
AN556
Title: Implementing a Table Read
Name: AN556
Date: 8/26/97
Author: Stan D'Souza
Description: This application note shows how to implement a table look-up for the following devices: ? PIC12CXXX ? PIC12CEXXX ? PIC16CXXX ? PIC16CEXXX ? PIC16FXXX The examples shown are for the PIC16CXXX family. An explanation of differences for the PIC16C5X family is at the end of this application note. To access data in program memory, a table read operation must be performed. The table consists of a series of retlw K instructions where, the 8-bit table constants are assigned to the literal K. The first instruction in the table computes the offset to the table by using addwf PCL,F and consequently, the program branches to the appropriate retlw K instruction
Keywords: DS00556E, AN556
 Related Information
 
 App Notes and Source Code
  AN556