SW500008 Microchip Technology, SW500008 Datasheet - Page 105

PICC-18 STD

SW500008

Manufacturer Part Number
SW500008
Description
PICC-18 STD
Manufacturer
Microchip Technology
Type
Compilerr
Series
PIC18r
Datasheets

Specifications of SW500008

Supported Families
PIC18
Core Architecture
PIC
Software Edition
Standard
Kit Contents
Software And Docs
Mcu Supported Families
PIC18
Tool Function
Compiler
Tool Type
Compiler
Lead Free Status / RoHS Status
Not applicable / RoHS Compliant
For Use With/related Products
PIC18 Series
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
015
778-1001
778-1001
Macro Assembler
4.3.4.2 Character Constants and Strings
A character constant is a single character enclosed in single quotes ’.
or newline characters, enclosed within matching quotes. Either single quotes ’ or double quotes "
maybe used, but the opening and closing quotes must be the same.
4.3.5 Identifiers
Assembly identifiers are user-defined symbols representing memory locations or numbers. A sym-
bol may contain any number of characters drawn from the alphabetics, numerics and the special
characters dollar, $, question mark, ? and underscore, _.
e.g. Fred is not the same symbol as fred. Some examples of identifiers are shown here:
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.
Multi-character constants, or strings, are a sequence of characters, not including carriage return
The first character of an identifier may not be numeric. The case of alphabetics is significant,
The names of psects (program sections) and ordinary symbols occupy separate, overlapping
An_identifier
an_identifier
an_identifier1
$
?$_12345
HI-TECH C Assembly Language
91

Related parts for SW500008