Vault 7: Projects

This publication series is about specific projects related to the Vault 7 main publication.

16-bit MCU and DSC Programmer’s Reference Manual
DS70157F-page 478 © 2005-2011 Microchip Technology Inc.
__builtin_tblrdl
Description:
Issues the tblrdl.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 the specific device data sheet or the appropriate family reference manual for
complete details regarding reading and writing program Flash.
Prototype:
unsigned int _ _builtin_tblrdl(unsigned int offset);
Argument:
offset desired memory offset
Return Value:
None.
Assembler Operator / Machine Instruction:
tblrdl
Error Messages:
None.
__builtin_tblwth
Description:
Issues the tblwth.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 the specific device data sheet or the appropriate family reference manual for
complete details regarding reading and writing program Flash.
Prototype:
void __builtin_tblwth(unsigned int offset
unsigned int data);
Argument:
offset desired memory offset
data data to be written
Return Value:
None.
Assembler Operator / Machine Instruction:
tblwth
Error Messages:
None.

e-Highlighter

Click to send permalink to address bar, or right-click to copy permalink.

Un-highlight all Un-highlight selectionu Highlight selectionh