Are there any points to note when using the table read instruction in the HT86XX series of microcontrollers?
Answer The Program Memory is subdivided into pages with each page having 256 addresses with an address range from 00H to FFH. When the TABRDL table read instruction is executed in the HT86XX series of microcontrollers, it is the 256 locations within the last page that are read. Before using this instruction, it is necessary to provide the Table Pointer register, TBLP, with the correct address of the data to be read. When the TABRDC table read instruction is executed, then the page number of the data to be read should be placed into the TBHP register and then the address of the data to be read, placed in the TBLP register. In this way data can be read from any area of Program Memory.