28.2.134 __builtin_tblrdhb

Architecture

dsPIC33C/E/F, dsPIC30

Description

Issues the tblrdhb.w instruction to read a byte 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 char __builtin_tblrdhb(uint16_t offset);

Argument

offset – desired memory offset

Return Value

Contents of the byte of memory in Flash or EEData memory.

Machine Instruction

tblrdhb

Error Messages

None