SW500009 Microchip Technology, SW500009 Datasheet - Page 103

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
4.3.6 Expressions
The operands to instructions and directives are comprised of expressions. Expressions can be made
up of numbers, identifiers, strings and operators.
allowable in expressions are listed in Table 4.4. The usual rules governing the syntax of expressions
apply.
HI-TECH linker permits relocation of complex expressions, so the results of expressions involving
relocatable identifiers may not be resolved until link time.
4.3.7 Program Sections
Program sections, or psects, are simply a section of code or data. They are a way of grouping together
parts of a program (via the psect’s name) even though the source code may not be physically adjacent
in the source file, or even where spread over several source files.
A psect is identified by a name and has several attributes. The PSECT assembler directive is used
to define a psect. It takes as arguments a name and an optional comma-separated list of flags. See
Section
operation of the linker and on optins that can be used to control psect placement in memory.
of which are compiler-generated or user-defined psects. Unless defined as abs (absolute), psects are
relocatable.
psect, and some data being placed in the rbss psect.
Operators can be unary (one operand, e.g. not) or binary (two operands, e.g. +). The operators
The operators listed may all be freely combined in both constant and relocatable expressions. The
The assembler associates no significance to the name of a psect and the linker is also not aware
The following is an example showing some executable instructions being placed in the text
The concept of a program section is not a HI-TECH-only feature. Often referred to as
blocks or segments in other compilers, these grouping of code and data have long used
the names text, bss and data.
PSECT text0,class=CODE,delta=2
adjust
increment
PSECT rbss_0,class=BANK0,space=1
fred
4.3.8.3
goto clear_fred
incf _fred
for full information on psect definitions. Chapter
HI-TECH C Assembly Language
5
has more information on the
89

Related parts for SW500009