28.2.67 __builtin_tblwtl

Description

Issues the tblrdl.w instruction to write a word to 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) or complete details regarding reading and writing program Flash.

Prototype

void __builtin_tblwtl(unsigned int offset
 unsigned int data);

Argument

offset – desired memory offset

data – data to be written

Return Value

None

Assembler Operator/ Machine Instruction

tblwtl

Error Messages

None