When using DATA in pbp, an optional label may be used. The assembler (MPASM) with an 18Fxxx part uses even address (WORD) boundaries for EEPROM BYTEs, thus the labels are on even boundaries.
BYTEs are aligned on WORD address boundaries when entered, according to the MPASM list file. How does this affect the use of READ i,j? Does the 'i' correspond with the WORD address boundary, or the actual byte offset in the table? If the label is based on a WORD boundary, must it be divided by 2, or used directly as the entry point in the table?
Bookmarks