SW500010 Microchip Technology, SW500010 Datasheet - Page 123

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.5.1 Significance of Identifiers
Users of other assemblers that attempt to implement forms of data typing for identifiers should note
that this assembler attaches no significance to any symbol, and places no restrictions or expectations
on the usage of a symbol.
name spaces, but other than this, the assembler does not care whether a symbol is used to represent
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.5.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.5.3 Location Counter
The current location within the active program section is accessible via the symbol $. This symbol
expands to the address of the currently executing instruction. Thus:
will represent code that will jump to itself and form an endless loop. By using this symbol and an
offset, a relative jump destination to be specified.
number of instructions. For example:
will skip one instruction.
The names of psects (program sections) and ordinary symbols occupy separate, overlapping
The address represented by $ is a word address and thus any offset to this symbol represents a
An_identifier
an_identifier
an_identifier1
$
?$_12345
goto $
goto $+1
movlw 8
movwf _foo
HI-TECH C Assembly Language
123

Related parts for SW500010