Syntax
Revision 1.0
Tokens
The assembler has these tokens:
•
identifiers
•
constants
•
operators
The assembler lets you put whitespace (blank characters, tabs, or newlines)
anywhere between tokens. Whitespace must separate adjacent identifiers or
constants that are not otherwise separated (by an expression operator, for
instance).
Multiple statements per line are permitted, as are single statements which
span multiple lines.
Identifiers
An identifier consists of a case-sensitive sequence of alphanumeric
characters, plus the underscore (_) character.
Identifiers can be up to 31 characters long, and the first character must be
alphabetic.
The value of an identifier can be set explicitly with the .symbol directive.
Constants
The assembler supports the following types of constants. All numeric
constants are interpreted as two's complement numbers.
•
Decimal constants, which consist of a sequence of decimal digits
[0123456789]* without a leading 0.
Syntax
107