SW500011 Microchip Technology, SW500011 Datasheet - Page 121

HI-TECH X PRO FOR PIC32

SW500011

Manufacturer Part Number
SW500011
Description
HI-TECH X PRO FOR PIC32
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC32r
Datasheet

Specifications of SW500011

No. Of User Licenses
1
Supported Families
PIC32
Core Architecture
PIC
Supported Hosts
Windows XP, Vista, Linux, Mac OS X
Software Edition
Professional
Kit Contents
Software And Docs
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / Not applicable
For Use With/related Products
PIC32 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
032
778-1007
778-1007
Macro Assembler
Note that even though the two blocks of code in the text32 psect are separated by a block in the bss
psect, the two text32 psect blocks will be contiguous when loaded by the linker. In other words, the
addiu a3,a3,1 instruction will be followed by the clrf instruction in the final ouptut. The actual
location in memory of the text32 and bss psects will be determined by the linker.
psect.
4.3.10 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.7, and are detailed below.
4.3.10.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.10.2 END
END is optional, but if present should be at the very end of the code defined in the module. It will
terminate the assembly process, and not even blank lines should follow this directive.
(address) of the program. Whether this is of any use will depend on the type of output debug file
being generated and the target platform. It is typically most useful for hosted systems, where an
application program may not be located at the reset vector.
4.3.10.3 PSECT
The PSECT directive declares or resumes a program section. It takes as arguments a name and,
optionally, a comma-separated list of flags. The allowed flags are listed in Table 4.8, below.
flags need not be repeated.
Code or data that is not explicitly placed into a psect will become part of the default (unnamed)
If an expression is supplied as an argument, that expression will be used to define the entry point
For example, if start_label is defined at the reset vector:
Once a psect has been declared it may be resumed later by another PSECT directive, however the
GLOBAL lab1,lab2,lab3
END start_label
HI-TECH C Assembly Language
121

Related parts for SW500011