Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How is the table instruction used and are there any special points to note ?

0
Posted

How is the table instruction used and are there any special points to note ?

0

Answer The table instructions have two kinds, one is the TABRDC instruction, which will read data from the same page of Program Memory that the statement is located. The second is the TABRDL instruction, which will only read data from the last page of the Program Memory. To read table data, the Low Address of the data location must be first placed into the TBLP register before executing the table read instruction. The Low Byte of the read back data will be placed into the chosen register specified in the table read instruction. The High Byte will be placed into the TBLH register. Any unused bits in the high byte data will be read as 0.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123