SW500010 Microchip Technology, SW500010 Datasheet - Page 133

HI-TECH C PRO FOR PIC10/12/16

SW500010

Manufacturer Part Number
SW500010
Description
HI-TECH C PRO FOR PIC10/12/16
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC10/12/16r
Datasheets

Specifications of SW500010

Supported Families
PIC10, PIC12, PIC16
Core Architecture
PIC
Software Edition
Professional
Kit Contents
Software And Docs
Mcu Supported Families
PIC10/12/16
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC10, PIC12, PIC14, PIC16, PIC16E
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
019P
778-1006
778-1006
Macro Assembler
4.3.8.11 FNADDR
This directive tells the linker that a function has its address taken, and thus could be called indirectly
through a function pointer. For example
tells the linker that func1() has its address taken.
4.3.8.12 FNARG
The directive
tells the linker that evaluation of the arguments to function fun1 involves a call to fun2, thus the
memory argument memory allocated for the two functions should not overlap. For example, the C
function calls
will generate the assembler directive
thereby telling the linker that bill() is called while evaluating the arguments for a call to fred().
4.3.8.13 FNBREAK
This directive is used to break links in the call graph information. The form of this directive is as
follows:
and is automatically generated when the interrupt_level pragma is used. It states that any calls to
fun1 in trees other than the one rooted at fun2 should not be considered when checking for functions
that appear in multiple call graphs. Fun2() is typically intlevel0 or intlevel1 in compiler-generated
code when the interrupt_level pragma is used. Memory for the auto/parameter area for a fun1 will
only be assigned in the tree rooted at fun2.
FNADDR _func1
FNARG fun1,fun2
fred(var1, bill(), 2);
FNARG _fred,_bill
FNBREAK fun1,fun2
HI-TECH C Assembly Language
133

Related parts for SW500010