SW500011 Microchip Technology, SW500011 Datasheet - Page 118

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
HI-TECH C Assembly Language
bytes, words or sports cars. No special syntax is needed or provided to define the addresses of bits
or any other data type, nor will the assembler issue any warnings if a symbol is used in more than
one context. The instruction and addressing mode syntax provide all the information necessary for
the assembler to generate correct code.
4.3.7.2 Assembler-Generated Identifiers
Where a LOCAL directive is used in a macro block, the assembler will generate a unique symbol to
replace each specified identifier in each expansion of that macro. These unique symbols will have
the form ??nnnn where nnnn is a 4 digit number. The user should avoid defining symbols with the
same form.
4.3.7.3 Symbolic Labels
A label is symbolic alias which is assigned a value equal to its offset within the current psect.
tion may appear on a line by itself or be positioned before a statement. Here are two examples of
legitimate labels interspersed with assembly code.
Here, the label frank will ultimately be assigned the address of the ori instruction, and simon44
the address of the sb instruction. Regardless of how they are defined, the assembler list file produced
by the assembler will always show labels on a line by themselves.
Thus they can be used as the target location for jump-type instructions or to load an address into a
register.
they are defined. They may be used by code above their definition. To make a label accessable in
other modules, use the GLOBAL directive. See Section
4.3.8 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.6. The usual rules governing the syntax of expressions
118
A label definition consists of any valid assembly identifier followed by a colon, :. The defini-
Labels may be used (and are prefered) in assembly code rather than using an absolute address.
Like variables, labels have scope. By default, they may be used anywhere in the module in which
Operators can be unary (one operand, e.g. not) or binary (two operands, e.g. +). The operators
frank:
simon44:
ori a3, zero, 16
j
sb
fin
zero, _input-__gptr(gp)
4.3.10.1
for more information.
Macro Assembler

Related parts for SW500011