SW500010 Microchip Technology, SW500010 Datasheet - Page 125

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.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 options 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
incf _fred
for full information on psect definitions. Chapter
clear_fred
HI-TECH C Assembly Language
5
has more information on the
125

Related parts for SW500010