SW500009 Microchip Technology, SW500009 Datasheet - Page 105

HI-TECH FOR DSPIC/PIC24

SW500009

Manufacturer Part Number
SW500009
Description
HI-TECH FOR DSPIC/PIC24
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC24 & DsPICr
Datasheet

Specifications of SW500009

Supported Families
PIC24
Core Architecture
PIC, DsPIC
Software Edition
Standard
Kit Contents
Software And Docs
Tool Type
Compiler
Mcu Supported Families
PIC24 MCUs And DsPIC DSCs
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
DSPIC3X/PIC24
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
025
778-1003
778-1003
Macro Assembler
Note that even though the two blocks of code in the text psect are separated by a block in the rbss
psect, the two text psect blocks will be contiguous when loaded by the linker. In other words,
the incf _fred instruction will be followed by the clrf instruction in the final ouptut. The actual
location in memory of the text and rbss psects will be determined by the linker.
psect.
4.3.8 Assembler Directives
Assembler directives, or pseudo-ops, are used in a similar way to instruction mnemonicss, but either
do not generate code, or generate non-executable code, i.e. data bytes. The directives are listed in
Table 4.5, and are detailed below.
4.3.8.1 GLOBAL
GLOBAL declares a list of symbols which, if defined within the current module, are made public. If
the symbols are not defined in the current module, it is a reference to symbols in external modules.
Example:
4.3.8.2 END
END is optional, but if present should be at the very end of the program. It will terminate the assembly
and not even blank lines should follow this directive. If an expression is supplied as an argument,
that expression will be used to define the start address of the program. Whether this is of any use
will depend on the linker. Example:
Code or data that is not explicitly placed into a psect will become part of the default (unnamed)
PSECT text0,class=CODE,delta=2
clear_fred
GLOBAL lab1,lab2,lab3
END start_label
DS 2
clrf _fred
return
HI-TECH C Assembly Language
91

Related parts for SW500009