SW500010 Microchip Technology, SW500010 Datasheet - Page 135

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.17 FNSIZE
The FNSIZE directive informs the linker of the size of the local variable and argument area associ-
ated with a function. These values are used by the linker when building the call graph and assigning
addresses to the variable and argument areas. This directive takes the form:
The named function has a local variable area and argument area as specified, for example
means the function fred() has 10 bytes of local variables and 5 bytes of arguments. The function
name arguments to any of the call graph associated directives may be local or global. Local functions
are of course defined in the current module, but most be used in the call graph construction in the
same manner as global names.
4.3.8.18 FNROOT
This directive tells the assembler that a function is a root function and thus forms the root of a call
graph. It could either be the C main() function or an interrupt function. For example, the C main
module produce the directive:
4.3.8.19 IF, ELSIF, ELSE and ENDIF
These directives implement conditional assembly. The argument to IF and ELSIF should be an
absolute expression. If it is non-zero, then the code following it up to the next matching ELSE,
ELSIF or ENDIF will be assembled. If the expression is zero then the code up to the next matching
ELSE or ENDIF will be skipped.
terminate the conditional assembly block. Example:
At an ELSE the sense of the conditional compilation will be inverted, while an ENDIF will
FNSIZE func,local,args
FNSIZE _fred, 10, 5
FNROOT _main
IF ABC
ELSIF DEF
ELSE
ENDIF
goto aardvark
goto denver
goto grapes
HI-TECH C Assembly Language
135

Related parts for SW500010