28.2.64 __builtin_tblrdh
Description
Issues the tblrdh.w instruction to read a word from Flash or EEData memory. You must set
up the TBLPAG to point to the appropriate page. To do this, you may make use of
__builtin_tbloffset() and __builtin_tblpage().
Please refer to your device data sheet or Family Reference Manual (FRM) for complete details regarding reading and writing program Flash.
Prototype
unsigned int __builtin_tblrdh(unsigned int offset);
Argument
offset – desired memory offset
Return Value
Contents of the memory address in Flash or EEData memory.
Assembler Operator/ Machine Instruction
tblrdh
Error Messages
None
